_SecTrustEvaluate linking error with Google Cardboard Unity3d SDK
Asked Answered
E

1

10

I am trying to run the demo project that comes with the Unity3d package for Google cardboard, but I keep getting this error when I build in xCode.

Undefined symbols for architecture arm64: "_SecTrustEvaluate", referenced from: l155 in libvrunity.a(GTMSessionFetcher.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am running Unity 5.2.0f3 and Xcode 6.4. The only things I have in my project are the CardboardSDK and the demo project both downloaded from here: https://developers.google.com/cardboard/unity

Has anyone run into this problem before or know how to fix it?!

Eurasian answered 19/12, 2015 at 0:43 Comment(1)
The answer below seems to be useful, if it fixed your problem, please accept it.Honeysucker
B
22

You need to add the Security.framework in order for it to build.

Bedight answered 21/12, 2015 at 22:35 Comment(1)
@Eurasian you should accept this as a correct answerMarinmarina

© 2022 - 2024 — McMap. All rights reserved.