SecTrustEvaluate与Google Cardboard Unity3d SDK链接错误

10
我正在尝试运行随 Unity3d 软件包一起提供的 Google Cardboard demo 项目,但在构建 xCode 时一直出现以下错误:
Undefined symbols for architecture arm64:
"_SecTrustEvaluate",引用自:
libvrunity.a(GTMSessionFetcher.o) 中的 l155
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的 Unity 版本是5.2.0f3,Xcode 版本是6.4。 我的项目中只有 CardboardSDK 和 demo 项目,两者都是从这里下载的:https://developers.google.com/cardboard/unity
有人遇到过这个问题或知道如何解决吗?!

1
下面的答案似乎很有用,如果它解决了你的问题,请接受它。 - Efren
1个回答

22

您需要添加Security.framework才能进行构建。


2
@SeloDeveloper 你应该接受这个作为正确答案。 - Greg Lukosek

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接