Skip to content

Instantly share code, notes, and snippets.

@kyzmitch
Last active September 12, 2023 19:54
Show Gist options
  • Save kyzmitch/26232a539b89e349fd8363d71769145e to your computer and use it in GitHub Desktop.
Save kyzmitch/26232a539b89e349fd8363d71769145e to your computer and use it in GitHub Desktop.
Xcode workaround to limit too many build tasks
defaults write com.apple.dt.xcodebuild IDEBuildOperationMaxNumberOfConcurrentCompileTasks 6
defaults write com.apple.dt.xcodebuild PBXNumberOfParallelBuildSubtasks 6
defaults write com.apple.dt.Xcode PBXNumberOfParallelBuildSubtasks 6
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks 6
@kyzmitch
Copy link
Author

to return to the default values need to use the value from sysctl -n hw.ncpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment