Way to restore Xcode to accept armv6 architecture?

2019-02-02 13:39发布

I have a 3rd party .a library, which is apparently compiled for only armv6 compatibility, where both new Xcodes (3.2.6 and 4), both now require a separate armv7 slice to run on the device. The link error is: file is universal but does not contain a(n) armv7 slice for architecture armv7.

Anyone know how to make either of the two new Xcode operate as 3.2.5 did and accept the existing library while I'm waiting for the library vendor to cook up an armv7 version?

2条回答
你好瞎i
2楼-- · 2019-02-02 13:51

In Project Settings, select "Standard" for the architecture (not "Optimized"). This should allow you to select "armv6" for the Active Architecture. This means it should also work on older devices (barring any other deprecations) once it's on the app store.

查看更多
霸刀☆藐视天下
3楼-- · 2019-02-02 14:00

Nothing worked for me until I set "Build Active Architecture Only" to No.

查看更多
登录 后发表回答