https://github.com/fastred/Optimizing-Swift-Build-Timeshtml
在Xcode中直接看到編譯項目的時間
step1:關閉Xcode
step2:打開終端執行 git
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
重啓Xcode。all is donegithub
-Xfrontend -warn-long-function-bodies=300
-Xfrontend -warn-long-expression-type-checking=300