在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 = deprecated -objc-isa-usage -Werror =隐式函数声明-emit-obj -mrelax-all -disable-free -disable-llvm-verifier-主文件名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 / Applic ations / Xcode.app / Contents / Developer / Platforms / iPhoneSimulator.platform / Developer / SDKs / iPhoneSimulator8.1.sdk -iquote / Users / joe / Library / Developer / Xcode / DerivedData / pac-dmdcvwzinfweyzgefcqbhztzjxfl / Build / build / Debug-iphonesimulator / pac.build / pac生成的文件.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。 /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 / inclu de -I /应用程序/Xcode.app/Contents/Developer/工具链/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用户/ joe /库/开发人员/ Xcode / DerivedData / pac-dmdcvwzinfweyzgefcqbhztzjxfl / Build / Products / Debug-iphonesimulator -F / Users / joe / Desktop / pac / parse-library-1 -O0 -Wnon-modular-include-in-框架模块-Werror =非模块化包含在框架模块中-Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror = return-type -Wunreachable-code -Wno-implicit-原子属性-Werror =不推荐使用-objc-isa-usage -Werror = objc根类-Wno-接收器弱-Wno-arc重复使用弱-Wduplicate-method-match -Wno-大括号-Wparentheses -Wswitch -W未使用的功能-Wno的未使用标签-Wno的未使用参数-Wunused的变量-Wunused的值-Wempty-body -Wconditional-uninitialized -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选择器-Wno弃用的实现-Wprotocol -W弃用的声明-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字符串-fdiagnostics-show-option -fdiagnostics-show-note-include -堆栈-fasm-blocks -vectoriz e-slp序列化诊断文件/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-dmdcvwzinfweyzgefcqbhztzjjfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.o -x Objective-c /用户/乔/桌面/pac/pac/main.m
1.文件末尾的解析器
2.代码生成
3.在模块“ /Users/joe/Desktop/pac/pac/main.m”上运行过程“ Function Pass Manager”。
4.在功能“ @main”上运行过程“ X86 DAG-> DAG指令选择”
铛:错误:无法执行命令:分段错误:11
clang:错误:clang前端命令由于信号失败(使用-v查看调用)
Apple LLVM版本6.0(clang-600.0.54)(基于LLVM 3.5svn)
目标:x86_64-apple-darwin13.0.0
螺纹型号:posix
叮当声:注意:诊断消息:请向http://developer.apple.com/bugreporter/提交错误报告,并包括崩溃回溯,预处理的源代码和关联的运行脚本。
铛:注意:诊断味精:
请在错误报告中附加以下文件:
预处理的源代码和关联的运行脚本位于:
铛:注意:诊断消息:/var/folders/3r/jfx826nx1yvd_xxd03fxdk580000gn/T/main-df87ab.m
铛:注意:诊断消息:/var/folders/3r/jfx826nx1yvd_xxd03fxdk580000gn/T/main-df87ab.cache
铛:注意:诊断消息:/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错误一起使用。