Xcode 提升编译速度
2020-10-30 本文已影响0人
xxxixxxx
1. 修改线程数
// 在终端输入
// beta 版 Xcode
defaults write com.apple.dt.Xcode PBXNumberOfParallelBuildSubtasks 4
// 正式版 Xcode
defaults write com.apple.Xcode PBXNumberOfParallelBuildSubtasks 4
// 4 = 核总数 * 2
// 关于本机 > 系统报告 > 硬件 > 核总数
2. 修改 Build Active Architecture Only
Target > Build Settings 搜索 Build Active Architecture Only
将 Debug
改为 Yes
