I created a simple Unity project with Google Cardboard SDK iOS that I downloaded from GitHub. Everything is working perfectly in Unity editor, but once I build the file and try to run it in Xcode the build failed. I disabled Bitcode because I was getting a complier error asking me to ENABLE/DISABLE it. However this didn't solve the issue. Now when I try to build it from Xcode I get the following error instead:
Undefined symbols for architecture armv7: "_SecTrustEvaluate", referenced from: ___75-[GTMSessionFetcher URLSession:task:didReceiveChallenge:completionHandler:]_block_invoke651 in libvrunity.a(GTMSessionFetcher.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Environment:
Unity 5.3.2f1
Xcode 7.2 (7C68)
iOS 9.2.1 (iPhone 6S Plus)
Google Cardboard SDK for iOS