- Home /
xCode pods problem when building for iOS
A warning:
Target 'Pods-Unity-iPhone' of project 'Pods' was rejected as an implicit dependency for 'libPods-Unity-iPhone.a' because its architectures 'armv7' didn't contain all required architectures 'armv7 arm64'
That ends up in this error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am getting crazy. Where the hell can I set this in Unity? If it's not possible then what to do? Is this an error from Unity?
Answer by Andrea_Marchetti · Jul 23, 2017 at 12:13 PM
The issue, doesn't matter how I set up the project, was unsolvable in xCode.
The solution is, simply, to switch from Mono2x to IL2CPP in the player settings in the Unity editor.
PS: Lately I am doing monologues on this Q&A...
Thanks for the tip, but I'm still seeing this. I seem to recall having to build another 'pods' project prior to my real project, but it's been a while, I don't recall how/what to do with that.
Your answer
Follow this Question
Related Questions
Error building Player: Exception: Failed to run assembly converter with command line -platform=wp80 0 Answers
UnityInitApplicationNoGraphics cause EXC_BAD_ACCESS on IOS 2 Answers
Working .pod with admob and googleplayservice for ios 0 Answers
Linker error - Unity on iOS/React Native project 1 Answer
Unity 5's xCode build..... SUCKS? 1 Answer