Changing the value of IDEBuildOperationMaxNumberOfConcurrentCompileTasks without restarting Xcode

Hi,


We have implemeted a distributed build system for xcode projects using distcc and ccache. The only problem with the implementation is that if we are working from home or not connected to office network we need to reset the value of IDEBuildOperationMaxNumberOfConcurrentCompileTasks. Is it possible to change this value without restarting the xcode? My plan is to run a pre build script that will ping the build machines to check their availablity and set the value of IDEBuildOperationMaxNumberOfConcurrentCompileTasks accordingly based on their availablity. But changing the value of IDEBuildOperationMaxNumberOfConcurrentCompileTasks requires restarting Xcode? I was wondering if there is anyway to do it without restarting xcode?

Yes, you can change IDEBuildOperationMaxNumberOfConcurrentCompileTasks by setting defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks 14 or whatever, and this will effect all Xcode builds that start after that. Also, this will effect the command-line xcodebuild (but there, you can control it for each build with -jobs argument).

Changing the value of IDEBuildOperationMaxNumberOfConcurrentCompileTasks without restarting Xcode
 
 
Q