I created a simple Unity project with the Google Cardboard SDK SDK, which I downloaded from GitHub. Everything works fine in the Unity editor, but as soon as I create the file and try to run it in Xcode, the assembly failed. I disabled the bitcode because I had a rule-related error requesting to enable ENABLE / DISABLE. However, this did not solve the problem. Now, when I try to build it from Xcode, I get the following error:
Undefined characters for armv7 architecture: "_SecTrustEvaluate" referenced: ___ 75- [GTMSessionFetcher URLSession: task: didReceiveChallenge: completeHandler:] _ block_invoke651 in libvrunity.a (GTMSessionFetcher.o) ld: character not found for armv7 clang architecture error : linker command did not work with exit code 1 (use -v to call the call)
Environment:
Unity 5.3.2f1
Xcode 7.2 (7C68)
iOS 9.2.1 (iPhone 6S Plus)
Google Cardboard SDK for iOS
source
share