Skip to content

Instantly share code, notes, and snippets.

@fsalata
Created February 4, 2022 11:21
Show Gist options
  • Save fsalata/413fb257c7eb5fc01ee1e71901bc1553 to your computer and use it in GitHub Desktop.
Save fsalata/413fb257c7eb5fc01ee1e71901bc1553 to your computer and use it in GitHub Desktop.
Set number of XCode threads
defaults write com.apple.dt.xcodebuild PBXNumberOfParallelBuildSubtasks `sysctl -n hw.ncpu`
defaults write com.apple.dt.xcodebuild IDEBuildOperationMaxNumberOfConcurrentCompileTasks `sysctl -n hw.ncpu`
defaults write com.apple.dt.Xcode PBXNumberOfParallelBuildSubtasks `sysctl -n hw.ncpu`
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks `sysctl -n hw.ncpu`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment