A linker error occurs when running a project created with Unity on the iPhone.

Asked 1 years ago, Updated 1 years ago, 75 views

I'm trying to create content with Google cardboard in Unity.
For this reason, I tried to start the sample provided by Google on my iPhone, but an error occurred.
The procedure is
https://developers.google.com/cardboard/unity/get-started-ios?hl=ja
I did as it says in
However, only the process of importing Localizable.string in 8. of Deploying Projects in Xcode was not possible because there was no file called Localizable.string in [your Unity project]/Asset/Plugins/iOS.

The error is

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)

It's as above.
I have no idea how to avoid this error.
Does it happen because Localizable.string is not included?
Or is it a problem with the settings?
The version is
xcode:7.2.1
iOS: 9.2
Unity: 5.3.1.

I look forward to your kind cooperation.

ios xcode unity3d xcode7 ios9

2022-09-30 21:13

1 Answers

If you can't follow the procedure, you should follow it before checking.

http://starzero.hatenablog.com/entry/2014/02/21/170902

See above for information on generating Localizable.string.

Also, regarding the error statement, I think the security framework is not set up.

_SecTrustEvaluate

I guess from this part.

Try adding Security.framework.


2022-09-30 21:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.