Advertisement
priore

Improve build times for Swift projects

Mar 23rd, 2018
572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.70 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement