为什么xCode 4.3语法突出显示在某些64位项目上会中断? [英] Why does xCode 4.3 syntax highlighting break on some 64-bit projects?

查看:85
本文介绍了为什么xCode 4.3语法突出显示在某些64位项目上会中断?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在许多64位项目上使用XCode没问题……但是很多时候,我会发现,虽然为64位设置了目标,但最基本的代码完成和语法突出显示都停止了工作.是否启用了ARC就是这种情况- ..(是的,我知道32位在ARC下不是有效的目标,等等等等……但是有趣的是..)语法高亮如果切换到32位模式,通常会在这种行为异常的项目上工作.我曾尝试删除派生数据",清理,分析等问题,请参见下文,该问题位于10.7.3,12GB RAM上,8核2008 MacPro.

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.

您知道我在说什么,如果在顶部,您会看到Xcode在说

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

(Paused) Indexing… 0 of …

有什么想法吗?

推荐答案

经过几次测试,我可以确认进入Product -> Edit Scheme ->的原因,然后切换或者/c可以解决此问题.

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

这篇关于为什么xCode 4.3语法突出显示在某些64位项目上会中断?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆