- Unity extension for IOS, rel 1.5.8
- MacOS 10.7.4 Lion
- Xcode 4.4.1 (4F1003)
- Unity version 3.5.3f
- iPhone4, iPad New 3
- iOS 5.1.1
- No jailbreaks
- Sort Posts
- 13 replies
- Last post
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi
One thing you could try is taking out armv6 compatibility as Vuforia does not support devices with these anyway.
There has to be an explanation, and hopefully it will be something very simple, like a flag or setting that has defaulted in a different way following your upgrades.
Can I ask what exactly did you upgrade in this cycle that caused this?
N
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi NalinS
I added Security.framework to xcode project, but errors still remain.
The very strange thing is that my old functioning projects now do not compile...
I created a mini-project with only an ARCamera and a Trackable, nothing more. Also in this case I receive an error:
Ld /Users/cypox/Library/Developer/Xcode/DerivedData/Unity-iPhone-feswsifoxctyjxgdblxdpnbcacyd/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv6/prova2 normal armv6
cd /Users/cypox/Desktop/ProgettiUnity/provaIOS/prova2/IOSexe
setenv IPHONEOS_DEPLOYMENT_TARGET 5.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/cypox/Library/Developer/Xcode/DerivedData/Unity-iPhone-feswsifoxctyjxgdblxdpnbcacyd/Build/Products -L/Users/cypox/Desktop/ProgettiUnity/provaIOS/prova2/IOSexe -L/Users/cypox/Desktop/ProgettiUnity/provaIOS/prova2/IOSexe/Libraries -F/Users/cypox/Library/Developer/Xcode/DerivedData/Unity-iPhone-feswsifoxctyjxgdblxdpnbcacyd/Build/Products -filelist /Users/cypox/Library/Developer/Xcode/DerivedData/Unity-iPhone-feswsifoxctyjxgdblxdpnbcacyd/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv6/prova2.LinkFileList -dead_strip -all_load -weak_framework CoreMotion -weak-lSystem -fobjc-link-runtime -miphoneos-version-min=5.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/cypox/Library/Developer/Xcode/DerivedData/Unity-iPhone-feswsifoxctyjxgdblxdpnbcacyd/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv6/prova2
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 don't know how to solve this, I was ready to publish my demo on AppleStore...
I hate software upgrades!!!
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
1) Cleaned Xcode\DerivedData directory.
2) Created a new Unity project without Vuforia: compiled and deployed on IOS properly
3) Added Vuforia package, Added package for marker image.
After build, it gives me these messages, in linking phase:
Undefined symbols for architecture armv6:
"_SecItemAdd", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecReturnRef", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecValueData", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_SecItemDelete", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_SecKeyDecrypt", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecAttrKeyClass", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecAttrKeyClassPublic", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecClassKey", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_SecItemCopyMatching", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecClass", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_SecKeyGetBlockSize", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecAttrKeyTypeRSA", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecReturnPersistentRef", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecAttrCanDecrypt", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecAttrKeyType", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
"_kSecAttrApplicationTag", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv6-master.o)
ld: symbol(s) not found for architecture armv6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Can you try starting from scratch as it seems like something has got confused somewhere?
Also, a screenshot of xcode might be useful as well to show the Build Failed message - not come across this before.
You could also try cleaning the project in XCode and rebuilding - make sure its for the device only as simulator is not supported.
N
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi!
yes, Unity version 3.5.5f3, sorry :)
The real problem is that Unity process creates the IOS project folder properly, but when you try to compile the project the result is: "BUILD FAILED" and no other informations.
No red dots with error codes, nothing. Only the build failure...
Hi all and Thanks very much,
all suggestions were right. Great job.
Now all it's ok!
Cypox