iphone - Xcode退出,iOS SDK中出现错误254

首先,我知道关于此主题有很多问题,但找不到适合我的解决方案。

突然,我收到了如下的clang错误:

1.  /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:154:2: current parser token 'if'
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: i386-apple-darwin11.4.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: error: unable to execute command: Segmentation fault: 11
clang: note: diagnostic msg: Error generating preprocessed source(s).
Command /Volumes/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 254

我无法解决此问题。
*请帮助我解决此错误.. *

最佳答案

使用调试器检查崩溃发生的位置。由于您没有任何代码,也许没有人可以在此方面为您提供帮助。为了获得全面的支持,您必须在应用程序崩溃的地方张贴代码,并且遇到此错误。
Here is same error discussed in Apple Official Support Communities, also refer to this
希望这可以帮助

https://stackoverflow.com/questions/17856175/

相关文章:

vba - Excel VBA : Compiler Errors

java - Java类错误

java - 构造函数未发现编译错误

objective-c - 我应该在头文件中添加一些内容吗?

python - Python反转计数器: slice indicies error

c++ - 使用 ANDROID NDK 在 Cplusplus 中调用 ffmpeg1.2.1 时

xcode - 无法为任何cocos2d应用程序甚至是helloworld默认应用程序创建ipa

c++ - 复制构造函数 - 编译器错误 C2040 和 C2440

java - 需要一个实例化类的方法被调用

android - 使用二进制文字数字时出错。为什么要使用旧的JDK?