我是iOS编程的新手。我只是试图编译一个空的项目,据我所知应该工作,但我遇到了一个错误:
ProcessPCH /users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/PrecompiledHeaders/USB1-Prefix-gsurnmlnnrebssbippyayakjgjix/USB1-Prefix.pch.pth USB1/USB1-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd "/Volumes/SP UFD U2/USB1"
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 -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.0.sdk -fexceptions -fasm-blocks -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -mios-simulator-version-min=6.0 -iquote /users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/USB1.build/Debug-iphonesimulator/USB1.build/USB1-generated-files.hmap -I/users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/USB1.build/Debug-iphonesimulator/USB1.build/USB1-own-target-headers.hmap -I/users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/USB1.build/Debug-iphonesimulator/USB1.build/USB1-all-target-headers.hmap -iquote /users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/USB1.build/Debug-iphonesimulator/USB1.build/USB1-project-headers.hmap -I/users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/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/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/USB1.build/Debug-iphonesimulator/USB1.build/DerivedSources/i386 -I/users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/USB1.build/Debug-iphonesimulator/USB1.build/DerivedSources -F/users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Products/Debug-iphonesimulator --serialize-diagnostics /users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/PrecompiledHeaders/USB1-Prefix-gsurnmlnnrebssbippyayakjgjix/USB1-Prefix.pch.dia -c "/Volumes/SP UFD U2/USB1/USB1/USB1-Prefix.pch" -o /users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/PrecompiledHeaders/USB1-Prefix-gsurnmlnnrebssbippyayakjgjix/USB1-Prefix.pch.pth -MMD -MT dependencies -MF /users/case4/murphb52/Library/Developer/Xcode/DerivedData/USB1-frxarpuqvqeibygmuqixzogxrplz/Build/Intermediates/PrecompiledHeaders/USB1-Prefix-gsurnmlnnrebssbippyayakjgjix/USB1-Prefix.pch.d
fatal error: error in backend: IO failure on output stream.
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
只是想知道我做错了什么人有任何解决方案或想法吗?
答案 0 :(得分:58)
您很可能没有磁盘空间。您的构建文件夹位于何处?可能不允许写入并导致该错误。
答案 1 :(得分:4)
有这个问题,尝试了大多数事情,但最后OSX重启解决了我的问题。
答案 2 :(得分:4)
德里克是对的。在我的情况下,我用于XCode派生数据的RAM磁盘已满。