0

まず第一に、このトピックについて多くの質問があることを知っていますが、解決策を見つけることができませんでした.

突然、次のような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

私はこれを解決することができません。 *このエラーを解決するのを手伝ってください.. *

4

1 に答える 1

0

デバッガーを使用して、クラッシュが発生している場所を確認します。あなたはコードを示していないので、おそらく誰もあなたを明確に助けることができないでしょう. 完全なサポートを受けるには、アプリがクラッシュし、このエラーが発生しているコードを投稿する必要があります。

これは、Apple 公式サポート コミュニティで説明されているのと同じエラーです。これも参照してください。

お役に立てれば

于 2013-07-25T11:58:17.440 に答える