Swift 编译时间优化

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

 
 
 
 
 
 
 
 
 
Add:
相关文章
相关标签/搜索