2014-09-25 61 views
1

我正在使用Xcode版本4.6.3。如何在与Clang编译时修复“退出代码11”?

在过去的两天里,一切都已经工作正常,但今天我打这个问题:

ProcessPCH /Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/PrecompiledHeaders/oneText-Prefix-apnbnwripekzjoazxfvojavjevfd/oneText-Prefix.pch.pth oneText/oneText-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler 
cd /Users/hits1/Desktop/DataIOS/oneText 
setenv LANG en_US.US-ASCII 
setenv 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-header -arch i386 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.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=6.1 -iquote /Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/oneText.build/Debug-iphonesimulator/oneText.build/oneText-generated-files.hmap -I/Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/oneText.build/Debug-iphonesimulator/oneText.build/oneText-own-target-headers.hmap -I/Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/oneText.build/Debug-iphonesimulator/oneText.build/oneText-all-target-headers.hmap -iquote /Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/oneText.build/Debug-iphonesimulator/oneText.build/oneText-project-headers.hmap -I/Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/oneText.build/Debug-iphonesimulator/oneText.build/DerivedSources/i386 -I/Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/oneText.build/Debug-iphonesimulator/oneText.build/DerivedSources -F/Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Products/Debug-iphonesimulator --serialize-diagnostics /Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/PrecompiledHeaders/oneText-Prefix-apnbnwripekzjoazxfvojavjevfd/oneText-Prefix.pch.dia -c /Users/hits1/Desktop/DataIOS/oneText/oneText/oneText-Prefix.pch -o /Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/PrecompiledHeaders/oneText-Prefix-apnbnwripekzjoazxfvojavjevfd/oneText-Prefix.pch.pth -MMD -MT dependencies -MF /Users/hits1/Library/Developer/Xcode/DerivedData/oneText-ehzdbhdloyrhhlciicbdjtvrzzeq/Build/Intermediates/PrecompiledHeaders/oneText-Prefix-apnbnwripekzjoazxfvojavjevfd/oneText-Prefix.pch.d 





Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 11 

我不知道这个问题的根本。我以前从未见过这类问题。

我应该怎么做才能解决它?

+0

你改变了项目名称也改变了另一个位置 – 2014-09-25 07:17:36

+0

@ Anbu.Karthik它是空洞的项目我的问题是有史以来的项目它显示像这样。我的旧项目也显示这样的请给我任何想法 – 2014-09-25 07:25:21

+3

这个错误意味着你更改了项目名称并更改了路径,这就是.pch(编译器)不能识别正确的名称/路径。得到它 – 2014-09-25 07:45:35

回答

0

This link将会有所帮助。它每次都适合我。当您每分钟运行一次程序时,都会发生Apple LLVM错误。意味着你正在运行该程序进行很多测试。希望链接可以帮助你。