Supporting iOS 6 and armv6

2019-06-24 05:55发布

问题:

I am building my application for iOS6 and i want to support armv6 so i had added the armv6 in architecture and valid architecture. Now application is giving lot of errors when build on apple llvm 4.1 but it compiles on llvm gcc 4.2. And when i build an Adhoc app using llvm gcc 4.2 then it's not installing on iphone 3GS and ipod 3G.


It's possible as kenji has given a link in the accepted Answer

回答1:

Xcode 4.5 removed support for building armv6 binaries.

You can't just add armv6 to the build settings, because the support to build it isn't there.

Edited to add

Since it was requested in the comments - confirmation for this comes from the Xcode 4.5 Release Notes



回答2:

I had the same error message in 4.4.1. Problem was solved by changing deployment target from 4.0 to 4.3 and removing armv6 from Architecture.