while building my app it gives me APPLE LLVM 5.1 error
The description of error is given below,
ProcessPCH /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/PrecompiledHeaders/GoogleAPIParsing-Prefix-gwcwubtrxmgndfbvpagazcbdlfnr/GoogleAPIParsing-Prefix.pch.pch GoogleAPIParsing/GoogleAPIParsing-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/ankit/Desktop/Projects/GoogleAPIParsing
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-header -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/ankit/Library/Developer/Xcode/DerivedData/ModuleCache -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -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 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.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=7.1 -iquote /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/GoogleAPIParsing-generated-files.hmap -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/GoogleAPIParsing-own-target-headers.hmap -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/GoogleAPIParsing-all-target-headers.hmap -iquote /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/GoogleAPIParsing-project-headers.hmap -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/DerivedSources/i386 -I/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/GoogleAPIParsing.build/Debug-iphonesimulator/GoogleAPIParsing.build/DerivedSources -F/Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Products/Debug-iphonesimulator -F/Users/ankit/Documents/FacebookSDK --serialize-diagnostics /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/PrecompiledHeaders/GoogleAPIParsing-Prefix-gwcwubtrxmgndfbvpagazcbdlfnr/GoogleAPIParsing-Prefix.pch.dia -MMD -MT dependencies -MF /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/PrecompiledHeaders/GoogleAPIParsing-Prefix-gwcwubtrxmgndfbvpagazcbdlfnr/GoogleAPIParsing-Prefix.pch.d -c /Users/ankit/Desktop/Projects/GoogleAPIParsing/GoogleAPIParsing/GoogleAPIParsing-Prefix.pch -o /Users/ankit/Library/Developer/Xcode/DerivedData/GoogleAPIParsing-blyffdbdszklenaxwqqnwiriiqjr/Build/Intermediates/PrecompiledHeaders/GoogleAPIParsing-Prefix-gwcwubtrxmgndfbvpagazcbdlfnr/GoogleAPIParsing-Prefix.pch.pch
GoogleAPIParsing/GoogleAPIParsing-Prefix.pch'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
Please help.
Thanks in advance
I found my mistake,
i accidentally deleted my .pch and .plist files and when i added it manually xcode showed me this error , so i had to manually add those files in my project.
Probably in your project there are ‘release’ or ‘retain’ and I guess you are using ARC (Automatic Reference Counting) in your Xcode projects, but you haven't change your flags.
I also recommend you to check this link; http://blog.evanmulawski.com/?p=36
Related
I have the same problem reported here:
How to fix PCH error?
But as Product > Clean Build Folder... (with Option key pressed) does not work for me I try to delete the files manually, but in the log file I am not able to see any "SharedPrecompiledHeaders" (Adam's answer), only "PrecompiledHeaders", shall I delete this ones ?
log file :
ProcessPCH /Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/PrecompiledHeaders/BlinkyBle-Prefix-hgtaudjsezkfjghkrtslxkdnrhrc/BlinkyBle-Prefix.pch.pch BlinkyBle/BlinkyBle-Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/nullpointer/Documents/bluetooth/NORDIC/iOS-master/BlinkyBle
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-header -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/nullpointer/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 -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 -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=6.1 -iquote /Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/BlinkyBle.build/Debug-iphonesimulator/BlinkyBle.build/BlinkyBle-generated-files.hmap -I/Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/BlinkyBle.build/Debug-iphonesimulator/BlinkyBle.build/BlinkyBle-own-target-headers.hmap -I/Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/BlinkyBle.build/Debug-iphonesimulator/BlinkyBle.build/BlinkyBle-all-target-headers.hmap -iquote /Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/BlinkyBle.build/Debug-iphonesimulator/BlinkyBle.build/BlinkyBle-project-headers.hmap -I/Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/BlinkyBle.build/Debug-iphonesimulator/BlinkyBle.build/DerivedSources/x86_64 -I/Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/BlinkyBle.build/Debug-iphonesimulator/BlinkyBle.build/DerivedSources -F/Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Products/Debug-iphonesimulator -MD -MT dependencies -MF /Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/PrecompiledHeaders/BlinkyBle-Prefix-hgtaudjsezkfjghkrtslxkdnrhrc/BlinkyBle-Prefix.pch.d -c /Users/nullpointer/Documents/bluetooth/NORDIC/iOS-master/BlinkyBle/BlinkyBle/BlinkyBle-Prefix.pch -o /Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/PrecompiledHeaders/BlinkyBle-Prefix-hgtaudjsezkfjghkrtslxkdnrhrc/BlinkyBle-Prefix.pch.pch --serialize-diagnostics /Users/nullpointer/Library/Developer/Xcode/DerivedData/BlinkyBle-cjtjgkbouuqudyhjloicfilbwptx/Build/Intermediates/PrecompiledHeaders/BlinkyBle-Prefix-hgtaudjsezkfjghkrtslxkdnrhrc/BlinkyBle-Prefix.pch.dia
I am using the latest version of iRate with Swift, trying to compile my project for App Store submission.
iRate installation isn't very complicated - you drag two (optionally 3) files into your Project and then include the iRate.h file in a bridging header.
However, when I go to compile, I'm getting a Apple LLVM 6.0 Error about compiling the iRate.m file.
I've checked and the iRate.m is assigned to my project under Target Membership.
Can anyone please help?
CompileC /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/Objects-normal/armv7/iRate.o DA/iRate.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/Dan/Projects/learn/DA"
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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 armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/Dan/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 -Os -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 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -fprofile-instr-use=/Users/Dan/Projects/learn/DA/OptimizationProfiles/DA.profdata -miphoneos-version-min=8.1 -iquote /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DA-generated-files.hmap -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DA-own-target-headers.hmap -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DA-all-non-framework-target-headers.hmap -ivfsoverlay /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/all-product-headers.yaml -iquote /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DA-project-headers.hmap -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/BuildProductsPath/Release-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DerivedSources/armv7 -I/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/DerivedSources -F/Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/BuildProductsPath/Release-iphoneos -MMD -MT dependencies -MF /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/Objects-normal/armv7/iRate.d --serialize-diagnostics /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/Objects-normal/armv7/iRate.dia -c /Users/Dan/Projects/learn/DA/DA/iRate.m -o /Users/Dan/Library/Developer/Xcode/DerivedData/DA-hizhzqckxkpqjxafuimctebfhwho/Build/Intermediates/ArchiveIntermediates/DA/IntermediateBuildFilesPath/DA.build/Release-iphoneos/DA.build/Objects-normal/armv7/iRate.o
error: Could not read profile: No such file or directory
1 error generated.
As suggested by Michael Dautermann, removing the reference under the Optimization Profile File key found in Xcode > Project > Build Settings under the Apple LLVM 6.0 - Code Generation section.
I am new to Xcode and, at one point, had selected Product > Perform Action > Generate Optimization Profile menu option.
While I ended up aborting (read: I never finished generating the optimization profile), it apparently populated the Optimization Profile File key, which caused my error when I went to Archive.
I am using Xcode version 4.6.3.
For the last two days, everything has been working fine, but today I'm hitting this problem:
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
I don't know about this problem. I've never seen this sort of problem before.
What should I do to fix it?
This link will be helpful. It works for me every time. Apple LLVM error occurs when you are running you program after every minute. Means you are running the program for testing a lot. Hope that link helps you.
I have created an App for iOS my first real problem solving app. I successfully created the app but when my colleague tries to download it through SVN he gets problems which I dont at Compiling.
Check dependencies
CompileC /Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/Objects-normal/i386/CustomPickerTVC.o TaxiCloud/CustomPickerTVC.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/rdl/Documents/WorkspaceTools/Xcode/TaxiCloudMobile/Code/TaxiCloud
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 i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/rdl/Library/Developer/Xcode/DerivedData/ModuleCache -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -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 -Wuninitialized -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 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.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=7.0 -iquote /Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/TaxiCloud-generated-files.hmap -I/Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/TaxiCloud-own-target-headers.hmap -I/Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/TaxiCloud-all-target-headers.hmap -iquote /Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/TaxiCloud-project-headers.hmap -I/Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Anurag/Documents/workspace/iphoneTaxi/Code/trunk/tapkulibrary-master/src -I/Users/Anurag/Documents/workspace/Objective-C/ios/tapkulibrary-master/src -I/Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/DerivedSources/i386 -I/Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/DerivedSources -F/Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Products/Debug-iphonesimulator -include /Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/PrecompiledHeaders/TaxiCloud-Prefix-fcurceuycaimaeacqiczboprofov/TaxiCloud-Prefix.pch -MMD -MT dependencies -MF /Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/Objects-normal/i386/CustomPickerTVC.d --serialize-diagnostics /Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/Objects-normal/i386/CustomPickerTVC.dia -c /Users/rdl/Documents/WorkspaceTools/Xcode/TaxiCloudMobile/Code/TaxiCloud/TaxiCloud/CustomPickerTVC.m -o /Users/rdl/Library/Developer/Xcode/DerivedData/TaxiCloud-criyhzzqkgbmsmfmdawnerafhtco/Build/Intermediates/TaxiCloud.build/Debug-iphonesimulator/TaxiCloud.build/Objects-normal/i386/CustomPickerTVC.o
Could someone help me understand whats going on please and work around this as I don't have the knowledge yet for such problems.
Im very new to iOS programming. Im literally just trying to compile an empty project which as far as I know should work but I'm running into an error:
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
Just wondering does anyone have any solutions or ideas at what I am doing wrong?
You're most likely out of disk space. Where is your build folder located? It might not be allowed to write and causing that error.
Had this issue, tried most things, but in the end an OSX reboot solved the problem for me.
Derek is correct. In my case the RAM disk I use for XCode derived data was full.