Hello,
I have been using Vuforia on a MacBook Pro with Lion for a couple of months without any problem.
Yesteday, I upgraded Xcode from the app store to Xcode 4.4 and when I wanted to build and Run my project on my new Ipad I got the following error:
Apple Mach-O Linker Error
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)
I have been using Unity (3.5.3f3) with Vuforia iOS 1.5.9 with XCode 4.3 (before the upgrade).
One day before, and other projects I have done previously have not presented any problems at all.
__________
Error Details:
Apple Mach-O Linker Error
Ld /Users/set/Library/Developer/Xcode/DerivedData/Unity-iPhone-cjxyesszntuwvlfamioartwpiqsb/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv6/Corregidor normal armv6
cd /Users/set/Documents/LE/Lab/AR/MausoleoCorregidorQro/corregidor_ios
setenv IPHONEOS_DEPLOYMENT_TARGET 4.0
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/set/Library/Developer/Xcode/DerivedData/Unity-iPhone-cjxyesszntuwvlfamioartwpiqsb/Build/Products -L/Users/set/Documents/LE/Lab/AR/MausoleoCorregidorQro/corregidor_ios -L/Users/set/Documents/LE/Lab/AR/MausoleoCorregidorQro/corregidor_ios/Libraries -F/Users/set/Library/Developer/Xcode/DerivedData/Unity-iPhone-cjxyesszntuwvlfamioartwpiqsb/Build/Products -filelist /Users/set/Library/Developer/Xcode/DerivedData/Unity-iPhone-cjxyesszntuwvlfamioartwpiqsb/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv6/Corregidor.LinkFileList -dead_strip -all_load -weak_framework CoreMotion -weak-lSystem -fobjc-link-runtime -miphoneos-version-min=4.0 -framework Security -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -lQCAR -lQCARUnityPlayer -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 -o /Users/set/Library/Developer/Xcode/DerivedData/Unity-iPhone-cjxyesszntuwvlfamioartwpiqsb/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv6/Corregidor
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)
______
I realized that the problem is avoided if I change the target platform from armv6 + armv7 (...) to just armv7. In that case the compilation is successful and the application is loaded correctly into my iPad.
I am worry that this Xcode change will not allow me to target armv6 ios platforms (which I suppose will not allow people using apple devices with armv6 to run my app)
What can I do to get rid of this error?
I am open to return to a previous XCode version or whichever Vuforia support best or to stay on Xcode 4.4 but to target armv6 platforms.
On the other hand I have noticed that with this Xcode update sometimes I get error regarding about PNG files, but I just need to click Build and Run again to get rid of them.
Thanks!
Agreed, I will certainly try.