Skip to content

Instantly share code, notes, and snippets.

@zvaavtre
Created November 4, 2016 21:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zvaavtre/e63cafb6c6c3a68b14be7bb86c12077f to your computer and use it in GitHub Desktop.
Save zvaavtre/e63cafb6c6c3a68b14be7bb86c12077f to your computer and use it in GitHub Desktop.
IDEBuildOperationMaxNumberOfConcurrentCompileTask
#!/bin/bash
#
# Look, you are not supoposed to do this. But dang it, it speeds up recompiles by a lot.
#
echo "job count is: " `defaults read com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTask`
echo "Changing to: $1"
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTask $1
echo "job count is now: " `defaults read com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTask`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment