繁体   English   中英

Apple LLVM 6.0错误Clang 254

[英]Apple LLVM 6.0 Error Clang 254

在Mavericks上运行Xcode 6.1,这是xcode问题吗? 还是我做的

抱歉,我知道发布这些错误一定很烦人,我尝试在Google上搜索,但找不到有效的解决方案

无论我运行的是未修改的模板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 =弃用的objc-isa-usage -Werror =隐式函数声明-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name main.m -mrelocation-model pic-图片级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/普通对象/x86_64/main.d -MT依赖项-isysr 提示/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -iquote / Users / joe / Library / Developer / Xcode / DerivedData / pac-dmdcvwzinfweyzgefcqbhztzjtes 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-dmdcvwzinfweyzgefcqbhztzjmedia .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 /用户/ joe /库/开发人员/ Xcode / DerivedData / pac-dmdcvwzinfweyzgefcqbhztzjxfl / Build /产品/ Debug-iphonesimulator -F /用户/ joe /桌面/ pac / parse-library-1 -O0 -Wnon-modular-include-框架内模块-Werror =非模块包含在框架内模块-Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror = return-type -Wunreachable-code -Wno-隐式原子属性-Werror =不推荐使用-objc-isa-usage -Werror = objc-root-class -Wno-receiver-weak -Wno-arc重复使用弱-Wduplicate-method-match-大括号-括号 -Wswitch -Wunused函数-Wno-unused标签-Wno-unused参数-Wunused变量-Wunused值-Wempty-body -W条件未初始化-Wno-unknown-pragmas -Wno-shadow -Wno-四个字符-常数-Wno转换-W常数转换-Wint转换-Wbool转换-Wenum转换-Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector -match -Wundeclared-selector -Wno-deprecated-implements -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -std = gnu99 -fdebug-compilation-dir / Users / joe / Desktop / pac -ferror-limit 19 -fmacro- backtrace-limit 0 -fmessage-length 0-堆栈保护器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-注意包括堆栈-fasm块 s -vectorize-slp-序列化诊断文件/Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64 main.dia -o /用户/ joe /库/开发人员/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.o -x目标-c /Users/joe/Desktop/pac/pac/main.m 1.文件末尾的解析器2.代码生成3.在模块'/ Users / joe / Desktop / pac / pac /上运行pass'Function Pass Manager' main.m文件”。 4.在函数'@main'上运行过程'X86 DAG-> DAG指令选择'clang:错误:无法执行命令:分段错误:11 clang:错误:clang前端命令由于信号而失败(使用-v查看调用)苹果LLVM 6.0版(clang-600.0.54)(基于LLVM 3.5svn)目标:x86_64-apple-darwin13.0.0线程模型:posix clang:注意:诊断消息:请向http:// developer提交错误报告.apple.com / bugreporter /并包含崩溃回溯,预处理的源代码和关联的运行脚本。 铛:注意:诊断味精:


请在错误报告中附加以下文件:预处理的源代码和关联的运行脚本位于:clang:注意:诊断msg:/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 / sh-maindf87ab。味精:


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

您可以按照以下示例解决此问题。 它为我工作。 您必须删除派生数据并重新启动xCode。 它始终与Apple LLVM 6.0错误一起使用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM