簡體   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