在iOS sdk中使用错误254退出Xcode

时间:2013-07-25 11:01:01

标签: iphone ios objective-c xcode compiler-errors

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

突然间,我收到了如下的铿锵声:

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

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

1 个答案:

答案 0 :(得分:0)

使用调试器检查崩溃发生的位置。因为你没有任何代码,也许没有人能够清楚地帮助你。为了获得全面支持,您必须发布应用程序崩溃的代码并且您收到此错误。

Here is same error discussed in Apple Official Support Communities, also refer to this

希望这会有所帮助