After upgrading Unity to 5.3.4f1 and Vuforia to v5.5.9 (from v5.0.1), I am getting the following when trying to build the project in Xcode
Whether or not this is correct, I did upgrade Vuforia by first getting rid of its references in Plugins as well as the /Vuforia asset directory prior to importing the package, and everything seemed alright within Unity.
I have ensured that all of my build settings are the same as before coming out of Unity. In Xcode, Bitcode enabled is set to "No," Architectures are set to "Standard Architectures: armv7 and arm64" and I am attempting to build directly to a device -- not through the Simulator.
Any idea what's going on?
ld: warning: arm64 function not 4-byte aligned: ltmp0 from /Users/apple/Documents/InteractiveCurriculum_Xcode/InteractiveCurriculum/Libraries/libiPhone-lib.a(PLCrashAsyncThread_current-5565F35D16E4818B.o)
ld: warning: arm64 function not 4-byte aligned: _plcrash_async_thread_state_current from /Users/apple/Documents/InteractiveCurriculum_Xcode/InteractiveCurriculum/Libraries/libiPhone-lib.a(PLCrashAsyncThread_current-5565F35D16E4818B.o)
Undefined symbols for architecture arm64:
"QCAR::Word::getClassType()", referenced from:
TypeMapping::getType(int) in libQCARUnityPlayer.a(TypeMapping.o)
TypeMapping::getTypeID(QCAR::Type) in libQCARUnityPlayer.a(TypeMapping.o)
"QCAR::State::State()", referenced from:
StateHolder::getCurrentState() in libQCARUnityPlayer.a(StateHolder.o)
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Unity to Xcode: Undefined symbols for architecture arm64
Try removing all of those files you mentioned plus the "link.xml" file in the asset directory. Then re-import Vuforia, I was having a similar issue with the upgrade until I did that.
Unity to Xcode: Undefined symbols for architecture arm64
I have the same problem.
Undefined symbols for architecture arm64:
Unity to Xcode: Undefined symbols for architecture arm64
The error traces reveal that your Xcode project is still trying to access the "old" libQCARUnityPlayer.a" which belongs to Vuforia 5.0.x;