ios6 – iOS xCode5编译器设置为LLVM 5.0时不支持编译器’com.apple.compilers.llvmgcc42’错误

我正在尝试打开一个使用iOS 6.0构建的旧项目.该项目用于编译正常,但在xCode 5下打开时,我得到这个神秘的错误消息.
Unsupported compiler 'com.apple.compilers.llvmgcc42' selected for architecture 'armv7'
Unable to determine concrete GCC compiler for file /Users/alexanderstone/Desktop/Development/RestKit/vendor/NXJSON/NSError+Extensions.m of type sourcecode.c.objc.
Unable to determine concrete GCC compiler for file /Users/alexanderstone/Desktop/Development/RestKit/vendor/NXJSON/NXDebug.m of type sourcecode.c.objc.
Unable to determine concrete GCC compiler for file /Users/alexanderstone/Desktop/Development/RestKit/vendor/NXJSON/NXJsonParser.m of type sourcecode.c.objc.
Unable to determine concrete GCC compiler for file /Users/alexanderstone/Desktop/Development/RestKit/vendor/NXJSON/NXJsonSerializer.m of type sourcecode.c.objc.

我已经检查了两个项目构建设置,它们看起来是正确的 – LLVM 5.0被选为两者的编译器.

另外,我检查了编译器抱怨的.m文件,并且没有看到任何对GCC的引用.有一些ASSERT()和其他宏,但我不知道它们是否是特定于编译器的.

当所有子项目似乎都设置为llvm5.0时,如何解决xCode 5中缺少的llvmgcc4.2编译器?

解决方法

Found this similar question.对我来说,解决方案是转到编辑器>验证子项和Restkit项目的项目设置.

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...