1.開啟編譯結束后顯示編譯時間
終端執(zhí)行以下命令
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
2.設置xcode編譯的線程數(shù),提高編譯效率屿讽。我這里設置4個線程。
defaults write com.apple.Xcode PBXNumberOfParallelBuildSubtasks 4
3.build only 設置debug為YES
4.設置Debug information Format選項,debug為DWARF