i have trouble about build iOS project in terminal with xcodebuild - ios

I have a iOS peoject. it run on my iPhone & iPad as well. Now I want build the project in terminal with xcodebuild. But i get errors, it likes that:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch armv7 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wmissing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-conversion -Wno-sign-conversion -mthumb "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -miphoneos-version-min=3.2 -I/Users/zhangyangjing/Desktop/556/Tabster/build/Tabster.build/Release-iphoneos/Tabster.build/Tabster.hmap -I/Users/zhangyangjing/Desktop/556/Tabster/build/Release-iphoneos/include -I/Users/zhangyangjing/Desktop/556/Tabster/build/Tabster.build/Release-iphoneos/Tabster.build/DerivedSources/armv7 -I/Users/zhangyangjing/Desktop/556/Tabster/build/Tabster.build/Release-iphoneos/Tabster.build/DerivedSources -F/Users/zhangyangjing/Desktop/556/Tabster/build/Release-iphoneos --serialize-diagnostics /var/folders/34/1khlf2gx2t5bkm3llcs1mhmr0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Prefix-dnpnglnqyykokvgarilsbxpvuaap/Prefix.pch.dia -c /Users/zhangyangjing/Desktop/556/Tabster/Prefix.pch -o /var/folders/34/1khlf2gx2t5bkm3llcs1mhmr0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Prefix-dnpnglnqyykokvgarilsbxpvuaap/Prefix.pch.pth -MMD -MT dependencies -MF /var/folders/34/1khlf2gx2t5bkm3llcs1mhmr0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Prefix-dnpnglnqyykokvgarilsbxpvuaap/Prefix.pch.d
In file included from /Users/zhangyangjing/Desktop/556/Tabster/Prefix.pch:2:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:108:16: fatal error: 'CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h' file not found
#include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>
** BUILD FAILED **
The following build commands failed:
ProcessPCH /var/folders/34/1khlf2gx2t5bkm3llcs1mhmr0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/Prefix-dnpnglnqyykokvgarilsbxpvuaap/Prefix.pch.pth Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
I have tried demo project from Apple, they got errors as same. I am crazying, who can help me?

i resolve it.
just do:
cd /usr/bin
rm xcodebuild
ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild xcodebuild

Related

POD error when trying to use Webstorm for React Native iOS development

I am new to React Native and iOS App development. I come across the following error when I try to run an new reactive native project for iOS:
/usr/local/bin/node /usr/local/lib/node_modules/react-native-cli run-ios
error Could not find "Podfile.lock" at /Users/davep/WebstormProjects/untitled3/ios/Podfile.lock. Did you run "pod install" in iOS directory?
info Found Xcode project "untitled3.xcodeproj"
info Building (using "xcodebuild -project untitled3.xcodeproj -configuration Debug -scheme untitled3 -destination id=CAE67ED1-8877-47D6-826E-376DD2D45250")
................
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project untitled3.xcodeproj -configuration Debug -scheme untitled3 -destination id=CAE67ED1-8877-47D6-826E-376DD2D45250
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Using build description from disk
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the untitled3 editor. (in target 'untitled3' from project 'untitled3')
PhaseScriptExecution Start\ Packager /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Script-FD10A7F022414F080027D42C.sh (in target 'untitled3' from project 'untitled3')
cd /Users/davep/WebstormProjects/untitled3/ios
/bin/sh -c /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Script-FD10A7F022414F080027D42C.sh
Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!
CompileC /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/main.o /Users/davep/WebstormProjects/untitled3/ios/untitled3/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'untitled3' from project 'untitled3')
cd /Users/davep/WebstormProjects/untitled3/ios
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios9.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/davep/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/davep/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -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 -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG=1 -DFB_SONARKIT_ENABLED=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Index/DataStore -iquote /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/untitled3-generated-files.hmap -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/untitled3-own-target-headers.hmap -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/untitled3-all-target-headers.hmap -iquote /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/untitled3-project-headers.hmap -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Products/Debug-iphonesimulator/include -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/DerivedSources-normal/x86_64 -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/DerivedSources/x86_64 -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/DerivedSources -F/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/main.dia -c /Users/davep/WebstormProjects/untitled3/ios/untitled3/main.m -o /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/main.o
In file included from /Users/davep/WebstormProjects/untitled3/ios/untitled3/main.m:3:
/Users/davep/WebstormProjects/untitled3/ios/untitled3/AppDelegate.h:1:9: fatal error: 'React/RCTBridgeDelegate.h' file not found
#import <React/RCTBridgeDelegate.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
CompileC /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/AppDelegate.o /Users/davep/WebstormProjects/untitled3/ios/untitled3/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'untitled3' from project 'untitled3')
cd /Users/davep/WebstormProjects/untitled3/ios
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios9.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/davep/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/davep/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -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 -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG=1 -DFB_SONARKIT_ENABLED=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Index/DataStore -iquote /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/untitled3-generated-files.hmap -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/untitled3-own-target-headers.hmap -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/untitled3-all-target-headers.hmap -iquote /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/untitled3-project-headers.hmap -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Products/Debug-iphonesimulator/include -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/DerivedSources-normal/x86_64 -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/DerivedSources/x86_64 -I/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/DerivedSources -F/Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/AppDelegate.d --serialize-diagnostics /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/AppDelegate.dia -c /Users/davep/WebstormProjects/untitled3/ios/untitled3/AppDelegate.m -o /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/AppDelegate.o
In file included from /Users/davep/WebstormProjects/untitled3/ios/untitled3/AppDelegate.m:1:
/Users/davep/WebstormProjects/untitled3/ios/untitled3/AppDelegate.h:1:9: fatal error: 'React/RCTBridgeDelegate.h' file not found
#import <React/RCTBridgeDelegate.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/main.o /Users/davep/WebstormProjects/untitled3/ios/untitled3/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/davep/Library/Developer/Xcode/DerivedData/untitled3-adqqamxzcxmswnfnvithzulzjaop/Build/Intermediates.noindex/untitled3.build/Debug-iphonesimulator/untitled3.build/Objects-normal/x86_64/AppDelegate.o /Users/davep/WebstormProjects/untitled3/ios/untitled3/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening untitled3.xcodeproj. Run CLI with --verbose flag for more details.
I already install the following:
* XCode
* React Native CLI
May I know what could be going wrong? It seems the Pod install could be a problem?
Many thanks for the help!
The project was created and run inside Webstorm. It seems the error will be gone after I run the project in the command line directly. During the process, RN will ask me to install cocopads.
Many thanks for all the comment!

Xcode won't compile for iPhone 6

I have an old project which compiles well on my iPhone 4, but when I try to compile for my iPhone 6 I encounter this starcan't specifiy -Q with -arch arm64
what does it mean? does any one have any idea?
here a shot of my project setting:
the second one is my project subModule meeting shot:
CompileC /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/Objects-normal/arm64/maxvid_decode_arm.o AVAnimator/maxvid_decode_arm.s normal arm64 assembler-with-cpp com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/hashem/Desktop/Xcode Projects/Gulestan"
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 assembler-with-cpp -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wmissing-prototypes -Wunreachable-code -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 -Wno-newline-eof -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/iGolestan-generated-files.hmap -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/iGolestan-own-target-headers.hmap -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/iGolestan-all-target-headers.hmap -iquote /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/iGolestan-project-headers.hmap -iquote../OHAttributedLabel -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Products/Debug-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/DerivedSources/arm64 -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/DerivedSources -F/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Products/Debug-iphoneos -no-integrated-as -MMD -MT dependencies -MF /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/Objects-normal/arm64/maxvid_decode_arm.d --serialize-diagnostics /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/Objects-normal/arm64/maxvid_decode_arm.dia -c /Users/hashem/Desktop/Xcode\ Projects/Gulestan/AVAnimator/maxvid_decode_arm.s -o /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/Objects-normal/arm64/maxvid_decode_arm.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as: can't specifiy -Q with -arch arm64
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
You are attempting to compile AVAnimator/maxvid_decode_arm.s which is 32 bit ARM asm code under the ARM64 built target. You will need to update the version of the AVAnimator library that you have embedded into your app to the github HEAD in order to compiler for ARM64.

Unable to build app that use cocoa pods

I recently reinstalled my Mac OS X Maverick distro and setted up my development environment. I was trying to follow the following tutorial to learn more about cocoa pods
and I never could get the build to run successfully.
The tutorial is from this source: http://www.raywenderlich.com/64546/introduction-to-cocoapods-2
To resume, I've followed the next steps on terminal app:
1- run: sudo gem update --system (OK)
2- run: sudo gem install cocoapods (OK)
3- run: pod setup (OK - terminal returned this "Setting up CocoaPods master repo
Setup completed (read-only access)")
4- on the app path run: pod init (created Podfile)
5- run: open -a Xcode Podfile (modified iOS version OK and added pod 'AFNetworking', '2.2.1' between the "target 'Showtracker' do)
6- run: pod install (everything worked fine and the workspace and all files were created correctly)
After that I've opened the workspace file from finder and the workspace in Xcode showed exactly as it should with the 2 project files
When I've tried to build the app I've got the following error as the build result:
CompileC
/Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.o
AFNetworking/AFNetworking/AFHTTPRequestOperation.m normal i386
objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/mtopp/Documents/Workspace/ShowTracker/Pods
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 -fmodules -fmodules-cache-path=/Users/mtopp/Library/Developer/Xcode/DerivedData/ModuleCache
-Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -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 -DCOCOAPODS=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/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-generated-files.hmap -I/Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-own-target-headers.hmap
-I/Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-all-target-headers.hmap
-iquote /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-project-headers.hmap -I/Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Products/Debug-iphonesimulator/include
-I/Users/mtopp/Documents/Workspace/ShowTracker/Pods/BuildHeaders -I/Users/mtopp/Documents/Workspace/ShowTracker/Pods/BuildHeaders/AFNetworking
-I/Users/mtopp/Documents/Workspace/ShowTracker/Pods/Headers -I/Users/mtopp/Documents/Workspace/ShowTracker/Pods/Headers/AFNetworking
-I/Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/DerivedSources/i386
-I/Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/DerivedSources
-F/Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Products/Debug-iphonesimulator
-fobjc-arc -w -Xanalyzer -analyzer-disable-checker -include /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/PrecompiledHeaders/Pods-ShowTracker-AFNetworking-prefix-aypnknzjycfqnmhhpckrwqzjddtp/Pods-ShowTracker-AFNetworking-prefix.pch -MMD -MT dependencies -MF /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.d
--serialize-diagnostics /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.dia
-c /Users/mtopp/Documents/Workspace/ShowTracker/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m
-o /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.o
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-cc1 -triple i386-apple-ios7.0.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name AFHTTPRequestOperation.m -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -target-cpu yonah -target-linker-version 236.3 -gdwarf-2 -coverage-file /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.o
-resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1
-dependency-file /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.d
-MT dependencies -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
-iquote /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-generated-files.hmap -iquote /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-project-headers.hmap -include-pch /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/PrecompiledHeaders/Pods-ShowTracker-AFNetworking-prefix-aypnknzjycfqnmhhpckrwqzjddtp/Pods-ShowTracker-AFNetworking-prefix.pch.pch
-D DEBUG=1 -D COCOAPODS=1 -I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-own-target-headers.hmap
-I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Pods-ShowTracker-AFNetworking-all-target-headers.hmap
-I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Products/Debug-iphonesimulator/include
-I /Users/mtopp/Documents/Workspace/ShowTracker/Pods/BuildHeaders -I /Users/mtopp/Documents/Workspace/ShowTracker/Pods/BuildHeaders/AFNetworking
-I /Users/mtopp/Documents/Workspace/ShowTracker/Pods/Headers -I /Users/mtopp/Documents/Workspace/ShowTracker/Pods/Headers/AFNetworking
-I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/DerivedSources/i386
-I /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/DerivedSources
-F/Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Products/Debug-iphonesimulator
-O0 -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -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 -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -w -std=gnu99 -fdebug-compilation-dir /Users/mtopp/Documents/Workspace/ShowTracker/Pods -ferror-limit 19
-fmacro-backtrace-limit 0 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fmodules -fmodules-cache-path=/Users/mtopp/Library/Developer/Xcode/DerivedData/ModuleCache
-fobjc-runtime=ios-7.0.0 -fencode-extended-block-signature -fobjc-arc -fobjc-exceptions -fexceptions -fpascal-strings -fdiagnostics-show-option -fdiagnostics-show-note-include-stack -fasm-blocks -vectorize-slp -serialize-diagnostic-file /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.dia
-o /Users/mtopp/Library/Developer/Xcode/DerivedData/ShowTracker-eidspshbmfufcxeoawmixoxklvzq/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ShowTracker-AFNetworking.build/Objects-normal/i386/AFHTTPRequestOperation.o
-x objective-c /Users/mtopp/Documents/Workspace/ShowTracker/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m
parser at end of file
Code generation
Running pass 'Function Pass Manager' on module '/Users/mtopp/Documents/Workspace/ShowTracker/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m'.
Running pass 'X86 DAG->DAG Instruction Selection' on function '#"\01-[AFHTTPRequestOperation responseObject]"' clang: error: unable
to execute command: Segmentation fault: 11 clang: error: clang
frontend command failed due to signal (use -v to see invocation) Apple
LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target:
i386-apple-darwin13.0.0 Thread model: posix clang: note: diagnostic
msg: PLEASE submit a bug report to
http://developer.apple.com/bugreporter/ and include the crash
backtrace, preprocessed source, and associated run script. clang:
note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed
source(s) and associated run script(s) are located at: clang: note:
diagnostic msg:
/var/folders/z3/wmz14g7527l40snggf1b5qb40000gn/T/AFHTTPRequestOperation-4de2a1.m
clang: note: diagnostic msg:
/var/folders/z3/wmz14g7527l40snggf1b5qb40000gn/T/AFHTTPRequestOperation-4de2a1.sh
clang: note: diagnostic msg:
**************** Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
failed with exit code 254
I can't find the solution and the error is so general that I've read a lot of different problems.
I will appreciate any help or guidance you can provide

Clang failed with exit code 1 error in objective-c

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.

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

Resources