Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

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

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?

64bit woes.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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

toggle these


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...