How to reduce Xcode build time
Opened this issue · 0 comments
bibin-jaimon commented
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
Set maximum number of parallel build subtasks
defaults write com.apple.dt.Xcode PBXNumberOfParallelBuildSubtasks `sysctl -n hw.ncpu`
Where sysctl -n hw.ncpu
gives you the number of CPU threads.
Set maximum number of concurrent compile tasks
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks `sysctl -n hw.ncpu`