Hi everyone.
When targeting ARMv6 for my iPhone build I keep getting a “Apple Mach-O Linker Error”.
Ld /Users/CCarter/Library/Developer/Xcode/DerivedData/Unity-iPhone-aqvvzychvphrzkamgiqrbjxephku/Build/Products/BlastOff2012.app/BlastOff2012 normal armv6
cd /Users/CCarter/Desktop/Build/GR
setenv IPHONEOS_DEPLOYMENT_TARGET 3.1.3
setenv 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++ -arch armv6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -L/Users/CCarter/Library/Developer/Xcode/DerivedData/Unity-iPhone-aqvvzychvphrzkamgiqrbjxephku/Build/Products -L/Users/CCarter/blastoff/Assets/Editor/StoreKit -L/Users/CCarter/Desktop/Build/GR -L/Users/CCarter/Desktop/Build/GR/Libraries -F/Users/CCarter/Library/Developer/Xcode/DerivedData/Unity-iPhone-aqvvzychvphrzkamgiqrbjxephku/Build/Products -filelist /Users/CCarter/Library/Developer/Xcode/DerivedData/Unity-iPhone-aqvvzychvphrzkamgiqrbjxephku/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv6/BlastOff2012.LinkFileList -dead_strip -all_load -weak_framework CoreMotion -weak-lSystem -fobjc-link-runtime -miphoneos-version-min=3.1.3 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -lTestFlight -liPhone-lib -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -weak_framework GameKit -framework StoreKit -lStoreKit -o /Users/CCarter/Library/Developer/Xcode/DerivedData/Unity-iPhone-aqvvzychvphrzkamgiqrbjxephku/Build/Products/BlastOff2012.app/BlastOff2012
ld: Unable to insert branch island. No insertion point available. for architecture armv6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When targeting ARMv7 its fine.
Please can someone let me know how to fix this.
Thanks You.
Unity 3.5.5
xCode 4.4.1