LoginSignup
9
8

More than 5 years have passed since last update.

[Unity] Xcodeで"_SecTrustEvaluate", referenced from: エラーが出る

Posted at

Unity 5.2.3f にバージョンアップしたところXcodeで"_SecTrustEvaluate", referenced from:... エラーが出たのでその対処法を記載します。

Undefined symbols for architecture armv7:
"_SecTrustEvaluate", referenced from:
l154 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)

スクリーンショット 2015-12-18 19.20.49.png

原因と対処方法

リンクするフレームワークに Security.framework が足りないためこのエラーが出ています。追加しましょう。

  • プロジェクトの設定 General を開く
  • Linked Frameworks and Libraries の+をクリック

スクリーンショット 2015-12-18 19.21.15.png

Security.frameworkを追加

スクリーンショット 2015-12-18 19.22.04.png

スクリーンショット 2015-12-18 19.22.13.png

情報元

Xcode 7 error. Missing required architechture when building

Add the Security.framework to your target in Link Binary with Libraries and build

9
8
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8