- Home /
libiPhone-lib.a has no armv7s slice
I'm building an iphone app and want to get best performance on iphone5.
The problem I have is that the liniPhone-lib.a does not contain an armv7s slice making it impossible to target armv7s, and therefore get best performance.
Look - this is Unity 4.2
lipo -info /Applications/Unity/Unity.app/Contents/PlaybackEngines/iPhonePlayer/iPhone-Trampoline/Libraries/libiPhone-lib.a Architectures in the fat file: /Applications/Unity/Unity.app/Contents/PlaybackEngines/iPhonePlayer/iPhone-Trampoline/Libraries/libiPhone-lib.a are: armv7 i386
There is no armv7s..
So how can I build for armv7s??? Everyone tells me armv7s is supported - but here I am demonstrating that it is clearly not.
I am having the same issue... It's frustrating as I am sure I have produced builds with armv7s support previously, but Xcode has now decided to continue throwing up the same error as the above. Could someone at least weigh in definitively as to whether armv7s is supported?
I think by 'support' they mean 'it works' but you may have to select armv7.
I'm not sure about that though. Since 6 support was dropped its only logical that latest support will be updated.
Someone will know better than I
Answer by faress · Dec 06, 2013 at 07:33 PM
the solution is in the player settings in your unity project, you have to set the target ios verion to 6.0 this will generate to you a libiPhone-lib.a file with armv7s slice. hope this help
Answer by colab_dev1 · Sep 03, 2014 at 02:25 PM
the solution is in the player settings in your unity project, you have to set the target ios verion to 6.0 this will generate to you a libiPhone-lib.a file with armv7s slice.
I'm afraid that doesn't work with Unity4.6. You only ever get a libiPhone-lib.a with the armv7 slice.