Why does xCode 4.3 syntax highlighting break on some 64-bit projects?

对着背影说爱祢 提交于 2019-12-18 09:11:57

问题


I use XCode on many 64-bit projects, with no problem… But many times, I will find that while a target is set for 64-bit, all-but-most-basic code-completion and syntax highlighting stops working. This is the case whether ARC is enabled - or not.. (and yes, I know 32-bit isn't valid target under ARC, blah blah blah… but the funny thing is.. Syntax highlighting usually DOES work on such a misbehaving project if then switched to 32 bit mode. I have tried deleting "Derived Data", cleaning, analyzing, etc. See below for an illustration of the issue. This is on a 10.7.3, 12GB RAM, 8-Core 2008 MacPro.

You know what I'm talking about if up at the top, you see Xcode saying

(Paused) Indexing… 0 of …

Any ideas?


回答1:


I can confirm, after several tests, that goint into Product -> Edit Scheme -> and then Toggle Either / Or Peristent State / Document Versions DOES fix this.



来源:https://stackoverflow.com/questions/10013437/why-does-xcode-4-3-syntax-highlighting-break-on-some-64-bit-projects

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