问题描述
目前我正在编译armv6和armv7。我还将目标iOS版本设置为4.0。
At the moment I'm compiling for both armv6 and armv7. I've also set the target iOS version as 4.0.
我是否正确地说所有能够运行iOS 4.0+的设备都是armv7,因此我可以停止编译for armv6?
Am I right in saying that all devices capable of running iOS 4.0+ are armv7, and thus I can stop compiling for armv6?
这不是什么大不了的事,但这意味着如果可以,我的应用程序的二进制文件将会相当小。
Not a big deal, but it means that my app's binary will be quite a bit smaller if I can.
推荐答案
很抱歉,但你不对。 iPhone 3G和iPod Touch 2G能够运行iOS 4(几乎没有),它们包含一个armv6处理器。
Sorry, but you aren't right. The iPhone 3G and iPod Touch 2G are able to run iOS 4 (barely) and they include a armv6 processor.
ARMv8 / ARM64 = iPhone 5s, iPad Air, Retina iPad Mini
ARMv7s = iPhone 5, iPhone 5c, iPad 4
ARMv7 = iPhone 3GS, iPhone 4, iPhone 4S, iPod 3G/4G/5G, iPad, iPad 2, iPad 3, iPad Mini
ARMv6 = iPhone, iPhone 3G, iPod 1G/2G
iOS 4.3+需要ARMv7。如果您的部署目标是4.3,则可以排除armv6支持。
iOS 4.3+ requires ARMv7. If your Deployment Target is 4.3, you can exclude armv6 support.
从XCode 4.5开始,您无法为armv6构建@Paul de Lange
As of XCode 4.5 you cannot build for armv6 @Paul de Lange
这篇关于在将应用程序限制到iOS 4.0+时,是否需要添加armv6支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!