2014-09-25 60 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錯誤。意味着你正在運行該程序進行很多測試。希望鏈接可以幫助你。