SHARE
TWEET

Improve build times for Swift projects

priore Mar 23rd, 2018 (edited) 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Xcode 9.2 Build System (https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html)
  2.  
  3. New Features
  4. An experimental opt-in feature increases the number of concurrent build tasks that are run for Swift projects. This may improve build times for Swift projects, but may also increase memory use during the build. (35326759)
  5. To enable this feature, open the Terminal and enter the following command:
  6.  
  7. defaults write com.apple.dt.Xcode BuildSystemScheduleInherentlyParallelCommandsExclusively -bool NO
  8.  
  9. To disable the feature, delete the preference by entering the command:
  10.  
  11. defaults delete com.apple.dt.Xcode BuildSystemScheduleInherentlyParallelCommandsExclusively
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top