Hey everyone,
Until I upgraded to Unity 4.3, I have had no problems running my application out of Xcode. However, after I updated this morning, I am now getting a build error that I cannot resolve, even after doing some pretty extensive research on the problem. It seems that there is a problem with the libiPhone-lib.a file supporting armv7s. I’ve looked at some of the other suggestions on Unity Answers and none of them really apply to this situation.
For a little background my build settings in Unity are set to:
-
Target Device: iPhone Only
-
SDK Version: Device SDK
-
Target iOS Version: 6.0
And the error in Xcode is as follows:
ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/unity/Apps/MyApp/MyAppProject/Libraries/libiPhone-lib.a file '/Users/unity/Apps/MyApp/MyAppProject/Libraries/libiPhone-lib.a' for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks for your time and help!