Xcode 6.3 code completion too slow

旧巷老猫 提交于 2019-11-29 20:16:17
Yoichi Tagaya

Setting Whole Module Optimization to Yes is a workaround in my project.

In my case, the project has 5 modules, named here A, B, C, D and E, where the dependency is diagramed A -> B -> C -> D, and each of A to D refers E. With Xcode 6.3 and 6.3.1, it is fine to compile modules E and D, but it takes longer to compile C, and much longer to compile B and A, like 10 mins. After I change the project setting, it takes less than a min to compile all the modules. It looks faster than compilation with Xcode 6.2.

References:

Try to clear project Derived Data, after update.
Window - Projects - YourProject - Derived Data - Delete...
In my case code completion is working better after update.

I used extensions on the GameScene Class and it sped everything up.

I took out three large functions from my gameScene Class, And made three separate extensions for them.

This is probably the easiest solution if none of the above work.

This issue appears to be fixed in Xcode 6.3.1 (released yesterday).

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