Slow test file compilation in Swift 1.2, Xcode 6.3.1

半世苍凉 提交于 2019-12-03 21:17:20

According to one of the replies in http://devforums.apple.com/message/1128702#1128702 . Enabling Whole Module Optimization in Build Settings makes the issue walked around.

Obviously this would involve seeing your code but try to not use so many concatenations for your strings and strongly type your vars.

You can see which file is taking a long time to compile by watching the build process in Xcode file by file. It's the last tab, touch the running build process and you'll see each file as it's being compiled.

Apple released Xcode 6.3.2 on 18th May (yesterday) which seems to cite slow compile times. Does the update fix your issue?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!