简体   繁体   中英

iOS, what should I set architectures setting in my project?

After doing some minor modifications to my app and loading it up into the latest xcode version, I've noticed the following settings.

Should I remove armv6? The option in the drop down says armv7, armv7s.

What should I set ?

在此输入图像描述

If you don't really want to support iPhone 3G and lower (not 3GS ) then you can remove armv6 . If you do, then you'll need to support only iOS 4.* and lower, and i don't think you really need it.

So, you can feel free to remove armv6 from the list.

As shown is image, If you select both architectures, the product built will execute on all iOS devices including iPhone 3G. If you have to run your code on iPhone 3GS or above. You can set armv7 in setting.

  • Set ARMv6 if you want to support iPhone(original) and iPhone 3G.
  • Set ARMv7 if you want to support iPhone 3GS, iPhone 4 and iPhone 4S
  • Set ARMv7s if you want to support iPhone 5

Here is a little explanation about the basics on iPhone processors technology.

Just for the record, iPhone(original), 3G and 3GS were discontinued.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM