Apple LLVM 6.0 Error Clang 254

问题描述:

在Mavericks上运行Xcode 6.1,这是一个xcode问题吗?或者我做的事Apple LLVM 6.0 Error Clang 254

对不起,我知道发布这些错误,必须招人烦,我试着谷歌上搜索周围,但无法找到工作

这会发生,我是否运行未经修改的模板Xcode的文件或东西的解决方案我试图编码自己。 :(

谢谢, 乔

CompileC /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.o pac/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler 
cd /Users/joe/Desktop/pac 
export LANG=en_US.US-ASCII 
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/joe/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=8.1 -iquote /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/pac-generated-files.hmap -I/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/pac-own-target-headers.hmap -I/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/pac-all-target-headers.hmap -iquote /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/pac-project-headers.hmap -I/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/DerivedSources/x86_64 -I/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/DerivedSources -F/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Products/Debug-iphonesimulator -F/Users/joe/Desktop/pac/parse-library-1 -MMD -MT dependencies -MF /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.dia -c /Users/joe/Desktop/pac/pac/main.m -o /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.o 

堆栈转储: 0.程序参数:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -triple x86_64-apple-ios8.1.0 -Wdeprecated-objc-isa-usage -Werror = deprecated-objc-isa-usage -Werror =隐式函数声明-emit-obj -mrelax-all -disable-free -disable- llvm-verifier -main-file-name main.m -mrelocation-model pic -pic-level 2 -mdisable -fp-elim -masm-verbose -munwind-tables -target -cpu core2 -target-linker-version 241.9 -gdwarf -2 -coverage-file/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build /Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/。 ./lib/clang/6.0 -dependency-file /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/ main.d -MT依赖关系-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -iquote/Users/joe/Library/Developer/Xcode/DerivedData/pac -dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/pac-generated-files.hmap -iquote/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac .build/Debug-iphonesimulator/pac.build/pac-project-headers.hmap -D DEBUG = 1 -D NS_BLOCK_ASSERTIONS = 1 -D OBJC_OLD_DISPATCH_PROTOTYPES = 0 -I/Users/joe/Library/Developer/Xcode/Derived Data/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/pac-own-target-headers.hmap -I/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/pac-all-target-headers.hmap -I/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Products/Debug- iphonesimulator/include -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac。 build/Debug-iphonesimulator/pac.build/DerivedSources/x86_64 -I /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/DerivedSources - F/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Products/Debug-iphonesimulator -F/Users/joe/Desktop/pac/parse- library-1 -O0 -Wnon-modular-include-in-framework-module -Werror = non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes - Werror = return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror = deprecated-objc-isa-usage -Werror = objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated- weak-wduplicate-method-match -Wno-missing-braces -Wparentheses -Wwitwit -Wunused-function -Wno-unused-label -Wno -unused-parameter -Wunused-variable -Wunused-value -Wempty-body - Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 - Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementation -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -std = gnu99 -fdebug- compilation-dir/Users/joe/Desktop/pac -ferror-limit 19 -fmacro-backtrac e-limit 0 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fmodules -fmodules-cache-path =/Users/joe/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval = 86400 - fmodules-prune-after = 345600 -fobjc-runtime = ios-8.1。0 -fencode-extended-block-signature -fobjc-arc -fobjc-exceptions -fexceptions -fpascal-strings -fdiagnostics -show-option -fdiagnostics -show-note-include-stack -fasm -block -vectorize -slp -serialize -f- diagnostic-file /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.dia -o/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.o -x objective-c/Users/joe/Desktop /pac/pac/main.m 1.文件末尾的解析器 2.代码生成 3.在模块'/Users/joe/Desktop/pac/pac/main.m'上运行pass'Function Pass Manager'。 4.功能'main'上运行'X86 DAG-> DAG指令选择' 铛:错误:无法执行命令:分段错误:11 铛:错误:铛前端命令由于信号失败(使用-v看到调用) Apple LLVM 6.0版(clang-600.0.54)(基于LLVM 3.5svn) 目标:x86_64-apple-darwin13.0.0 线程模型:posix clang:note:diagnostic msg:请提交一个bug报告到http://developer.apple.com/bugreporter/并包括崩溃回溯,预处理源和相关的运行脚本。 铛:注意:诊断信息:


请附上以下文件错误报告: 预处理的源极(S)和相关联的运行脚本(或多个)的位置如下: 铛:注意:诊断信息: /var/folders/3r/jfx826nx1yvd_xxd03fxdk580000gn/T/main-df87ab.m clang:note:diagnostic msg:/var/folders/3r/jfx826nx1yvd_xxd03fxdk580000gn/T/main-df87ab.cache clang:note:diagnostic msg:/ var /folders/3r/jfx826nx1yvd_xxd03fxdk580000gn/T/main-df87ab.sh 铛:注意:诊断信息:


命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang失败,退出码254

您可以按照this example来解决这个问题。它为我工作。您必须删除派生数据并重新启动xCode。它始终与Apple LLVM 6.0错误一起工作。