开发者

UIRequiredDeviceCapabilities armv6 and armv7

开发者 https://www.devze.com 2023-03-27 12:07 出处:网络
I snapshot my settings below.In my project开发者_JAVA百科 settings, i am targeting arm6 and 7.Does this mean i need to include both armv6 and armv7 keys even though the descriptions by apple state \"i

I snapshot my settings below. In my project开发者_JAVA百科 settings, i am targeting arm6 and 7. Does this mean i need to include both armv6 and armv7 keys even though the descriptions by apple state "is compiled only for the armv6 instruction set":

armv6 Include this key if your application is compiled only for the armv6 instruction set. (iOS v3.1 and later.)

armv7 Include this key if your application is compiled only for the armv7 instruction set. (iOS v3.1 and later.)

UIRequiredDeviceCapabilities armv6 and armv7

UIRequiredDeviceCapabilities armv6 and armv7


No, as you're compiling for both architectures, you don't require either of them. You would only include the requirement if you compiled for just one architecture.


In xCode 4.2 it is not possible to switch the Architecture to armv6, Standard is armv7 and cannot be changed. I'm not sure whether the "armv6 armv7" value in the field "Valid Architectures" is enough for supporting all devices. Therefore I included the (array-)string value "armv6" as described by peterept in the key "UIRequiredDevicesCapabilities". I hope that like that my app will be compatible with all (iPhone) devices. Other experiences? Cheers.

0

精彩评论

暂无评论...
验证码 换一张
取 消