Ios6 iOS xCode5不支持的编译器';com.apple.compilers.llvmgcc42';编译器设置为LLVM 5.0时出错

Ios6 iOS xCode5不支持的编译器';com.apple.compilers.llvmgcc42';编译器设置为LLVM 5.0时出错,ios6,ios7,xcode5,llvm-gcc,llvm5,Ios6,Ios7,Xcode5,Llvm Gcc,Llvm5,我正在尝试打开一个旧项目,它是使用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/Res

我正在尝试打开一个旧项目,它是使用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编译器?

。对我来说,解决方案是转到编辑器>验证子项目和Restkit项目的项目设置 < P>一个解决方案是,当我面对这个问题时,我已经解决了,只需将设置->构建选项-> C++编译器编译为默认值,您的问题就会得到解决。p>