Clang failed with exit code 1 error in objective-c - ios

what is this error.. I'm trying to converting a non-ARC project to arc project and error is showing Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
ProcessPCH /Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/PrecompiledHeaders/Corlocation-Prefix-fjwexhbcqsylinfenhkyculomcng/Corlocation-Prefix.pch.pth Corlocation/Corlocation-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/amit/Desktop/My Apps/Corlocation"
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/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/Corlocation.build/Debug-iphonesimulator/Corlocation.build/Corlocation-generated-files.hmap -I/Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/Corlocation.build/Debug-iphonesimulator/Corlocation.build/Corlocation-own-target-headers.hmap -I/Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/Corlocation.build/Debug-iphonesimulator/Corlocation.build/Corlocation-all-target-headers.hmap -iquote /Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/Corlocation.build/Debug-iphonesimulator/Corlocation.build/Corlocation-project-headers.hmap -I/Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/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/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/Corlocation.build/Debug-iphonesimulator/Corlocation.build/DerivedSources/i386 -I/Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/Corlocation.build/Debug-iphonesimulator/Corlocation.build/DerivedSources -F/Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Products/Debug-iphonesimulator fno-objc-arc --serialize-diagnostics /Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/PrecompiledHeaders/Corlocation-Prefix-fjwexhbcqsylinfenhkyculomcng/Corlocation-Prefix.pch.dia -c "/Users/amit/Desktop/My Apps/Corlocation/Corlocation/Corlocation-Prefix.pch" -o /Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/PrecompiledHeaders/Corlocation-Prefix-fjwexhbcqsylinfenhkyculomcng/Corlocation-Prefix.pch.pth -MMD -MT dependencies -MF /Users/amit/Library/Developer/Xcode/DerivedData/Corlocation-gfdftvxjfdzkejebtysirafavnmv/Build/Intermediates/PrecompiledHeaders/Corlocation-Prefix-fjwexhbcqsylinfenhkyculomcng/Corlocation-Prefix.pch.d
clang: error: no such file or directory: 'fno-objc-arc'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

you are use the fno-objc-arc that's a command line argument, you probably need to prefix it with a hyphen, such as with:
Replace fno-objc-arc to -fno-objc-arc

fno-objc-arc should be -fno-objc-arc and is used to turn off ARC for the file, so there is obviously a mistake in your Xcode project settings.
See the screenshot in this SO question for details of where this is set.

Related

Getting this error while converting code to swift 3: clang: error: cannot specify -o when generating multiple output files

I have converted my code from swift 2.2 to swift 3. It was working fine with swift 2.2, I am getting the following error.
clang: error: cannot specify -o when generating multiple output files
Error picture: Click Here
Showing All Errors Only
CompileC /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/Objects-normal/x86_64/MMDrawerBarButtonItem.o SwiftAndPHPSignUpExample/MMDrawerBarButtonItem.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/KaleemAhmad/Desktop/gadzoop
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/local/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 -gmodules -fmodules-cache-path=/Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -fno-common -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-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 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.1.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=9.0 -g -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/Gadzoop-generated-files.hmap -I/Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/Gadzoop-own-target-headers.hmap -I/Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/Gadzoop-all-non-framework-target-headers.hmap -ivfsoverlay /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/all-product-headers.yaml -iquote /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/Gadzoop-project-headers.hmap -I/Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Products/Debug-iphonesimulator/include -I/Users/KaleemAhmad/Desktop/gadzoop/Pods/Headers/Public -I/Users/KaleemAhmad/Desktop/gadzoop/Pods/Headers/Public/GoogleMaps -I/Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/DerivedSources/x86_64 -I/Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/DerivedSources -F/Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Products/Debug-iphonesimulator -F/Users/KaleemAhmad/Documents/FacebookSDK -F/Users/KaleemAhmad/Desktop/gadzoop/SwiftAndPHPSignUpExample/Pods/GoogleMaps/Frameworks -F/Users/KaleemAhmad/Desktop/gadzoop/SwiftAndPHPSignUpExample -iquote /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Products/Debug-iphonesimulator/BSGridCollectionViewLayout/BSGridCollectionViewLayout.framework/Headers -iquote /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Products/Debug-iphonesimulator/BSImagePicker/BSImagePicker.framework/Headers -iquote /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Products/Debug-iphonesimulator/UIImageViewModeScaleAspect/UIImageViewModeScaleAspect.framework/Headers -isystem /Users/KaleemAhmad/Desktop/gadzoop/Pods/Headers/Public -isystem /Users/KaleemAhmad/Desktop/gadzoop/Pods/Headers/Public/GoogleMaps -iquote -iquote /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Products/Debug-iphonesimulator/BSImagePicker/BSImagePicker.framework/Headers -iquote /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Products/Debug-iphonesimulator/UIImageViewModeScaleAspect/UIImageViewModeScaleAspect.framework/Headers -isystem /Users/KaleemAhmad/Desktop/gadzoop/Pods/Headers/Public -isystem /Users/KaleemAhmad/Desktop/gadzoop/Pods/Headers/Public/GoogleMaps -MMD -MT dependencies -MF /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/Objects-normal/x86_64/MMDrawerBarButtonItem.d --serialize-diagnostics /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/Objects-normal/x86_64/MMDrawerBarButtonItem.dia -c /Users/KaleemAhmad/Desktop/gadzoop/SwiftAndPHPSignUpExample/MMDrawerBarButtonItem.m -o /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca/Build/Intermediates/Gadzoop.build/Debug-iphonesimulator/Gadzoop.build/Objects-normal/x86_64/MMDrawerBarButtonItem.o
clang: error: cannot specify -o when generating multiple output files
Delete the folder Gadzoop-fdjqyafuystmzsbfrgmnuhrqohca at /Users/KaleemAhmad/Library/Developer/Xcode/DerivedData/
and cleaning the project and then try again.

How can I fix an "exit code 11" when compiling with Clang?

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.

Apple LLVM Compiler 4.1: Error with clang Constant island pass failed to converge

I have been stuck with this error for days. When I try archiving it fails, I have no problem to run it on the simulator or an iphone.
fatal error: error in backend: Constant Island pass failed to converge! Command
/Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
failed with exit code 1
Here is the complete compilation where it gets stuck
CompileC
"/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/Objects-normal/armv7/SalaryTaxViewController.o"
Classes/SalaryTaxViewController.m normal armv7 objective-c
com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/RE/Desktop/SalaryTax"
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x objective-c -arch armv7 -fmessage-length=0 -std=c99 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -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 -isysroot /Developer/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk
-Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion "-DIBOutlet=attribute((iboutlet))" "-DIBOutletCollection(ClassName)=attribute((iboutletcollection(ClassName)))"
"-DIBAction=void)attribute((ibaction)" -miphoneos-version-min=5.0
-iquote "/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/SalaryTax-generated-files.hmap"
"-I/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/SalaryTax-own-target-headers.hmap"
"-I/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/SalaryTax-all-target-headers.hmap"
-iquote "/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/SalaryTax-project-headers.hmap"
"-I/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/BuildProductsPath/Release-iphoneos/include"
-I/Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
-I/Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
-I/Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
"-I/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/DerivedSources/armv7"
"-I/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/DerivedSources"
"-F/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/BuildProductsPath/Release-iphoneos"
-DNS_BLOCK_ASSERTIONS=1 -include "/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/PrecompiledHeaders/SalaryTax_Prefix-bbmxcwkvhjetmzddaqqrcvabohqr/SalaryTax_Prefix.pch"
-MMD -MT dependencies -MF "/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/Objects-normal/armv7/SalaryTaxViewController.d"
--serialize-diagnostics "/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/Objects-normal/armv7/SalaryTaxViewController.dia"
-c "/Users/RE/Desktop/SalaryTax/Classes/SalaryTaxViewController.m" -o "/Users/RE/Library/Developer/Xcode/DerivedData/SalaryTax-gkyeqmkkgahencbhhavdyzwrvywo/Build/Intermediates/ArchiveIntermediates/SalaryTax/IntermediateBuildFilesPath/SalaryTax.build/Release-iphoneos/SalaryTax.build/Objects-normal/armv7/SalaryTaxViewController.o"
fatal error: error in backend: Constant Island pass failed to
converge! Command
/Developer/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
failed with exit code 1

Coreplot Xcode 4.5 Linker Error

Can anyone help? I've searched high and wide for a solution on this one...
I have recently upgraded Xcode from 4.2 to 4.5, downloaded the latest Coreplot (1.0) and attempted to do the dependent project install and tried the static library using the Coreplot wiki notes but get the following linker error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Werror -Wmissing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wmissing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wsign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -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/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphonesimulator/CorePlot-CocoaTouch.build/CorePlot-CocoaTouch-generated-files.hmap -I/Users/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphonesimulator/CorePlot-CocoaTouch.build/CorePlot-CocoaTouch-own-target-headers.hmap -I/Users/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphonesimulator/CorePlot-CocoaTouch.build/CorePlot-CocoaTouch-all-target-headers.hmap -iquote /Users/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphonesimulator/CorePlot-CocoaTouch.build/CorePlot-CocoaTouch-project-headers.hmap -I/Users/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/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/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphonesimulator/CorePlot-CocoaTouch.build/DerivedSources/i386 -I/Users/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphonesimulator/CorePlot-CocoaTouch.build/DerivedSources -F/Users/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Products/Debug-iphonesimulator -lstdc++ -falign-loops=16 -MMD -MT dependencies -MF /Users/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphonesimulator/CorePlot-CocoaTouch.build/Objects-normal/i386/CPTPlot.d --serialize-diagnostics /Users/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphonesimulator/CorePlot-CocoaTouch.build/Objects-normal/i386/CPTPlot.dia -c /Users/carl_evs/Documents/CorePlot_1.0/Source/framework/Source/CPTPlot.m -o /Users/carl_evs/Library/Developer/Xcode/DerivedData/Money_Monthly-eyszohglwcbclrfhrqobwkdwqdzo/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphonesimulator/CorePlot-CocoaTouch.build/Objects-normal/i386/CPTPlot.o
clang: error: -Z-reserved-lib-stdc++: 'linker' input unused when '-c' is present
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

Apple LLVM compiler 4.1 Error

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.

Resources