Apple LLVM 6.0错误声明254

bil*_*ob2 0 iphone xcode objective-c ios xcode6

在Mavericks上运行Xcode 6.1,这是一个xcode问题吗?或者我做过的事

对不起,我知道发布这些错误一定很烦人,我试着用谷歌搜索但找不到有效的解决方案

无论我是运行未经修改的模板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
Run Code Online (Sandbox Code Playgroud)

堆栈转储: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 = implicit-function-declaration -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依赖项-isysr oot /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/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 -I/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Products/Debug-iphonesimu lator/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-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 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector -match -Wundeclared-selector -Wno-deprecated-implementation -Wototocol -Wdeprecated-declarations -Wno-sign-conversion -std = gnu99 -fdebug-compilation-dir/Users/joe/Desktop/pac -ferror-limit 19 -fmacro- backtrace-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 s -vectorize-slp -serialize-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 /上运行传递'Function Pass Manager' main.m文件".4.在函数'@main'clan上运行'X86 DAG-> DAG指令选择':错误:无法执行命令:分段错误:11铿锵:错误:clang前端命令因信号失败(使用-v查看调用)Apple LLVM 6.0版(clang-600.0.54)(基于LLVM 3.5svn)目标:x86_64-apple-darwin13.0.0线程模型:posix clang:注意:诊断消息:请向http://开发人员提交错误报告.apple.com/bugreporter /并包含崩溃回溯,预处理源和关联的运行脚本.clang:注意:诊断消息:


请将以下文件附加到BUG报告:预处理的源和相关的运行脚本位于:clang:注意:诊断消息:/var/folders/3r/jfx826nx1yvd_xxd03fxdk580000gn/T/main-df87ab.m clang :注意:诊断消息:/var/folders/3r/jfx826nx1yvd_xxd03fxdk580000gn/T/main-df87ab.cache clang:注意:诊断消息:/var/folders/3r/jfx826nx1yvd_xxd03fxdk580000gn/T/main-df87ab.sh clang:注意:诊断味精:


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

小智 5

您可以按照此示例来解决此问题.它对我有用.您必须删除派生数据并重新启动xCode.它始终适用于Apple LLVM 6.0错误.