Several instruction sets in iOS (ARMv6, armv7, armv7s, arm64)

Source: Internet
Author: User

There are currently several instruction sets for iOS:

    • ARMv6
      • Iphone
      • IPhone2
      • Iphone3g
      • First generation and second generation ipod Touch
    • ARMv7
      • IPhone4
      • Iphone4s
    • armv7s
      • IPhone5
      • iphone5c
    • Arm64
      • IPhone5S

The machine's support for the instruction set is backwards compatible, so the armv7 instruction set can be run in iphone5s, but not as efficient as it is.

================================================

Architecture: Refers to the set of instructions you want to support.

Valid architectures: Refers to the set of instructions that will be compiled.

Build Active Architecture only: Compiles only the currently applicable instruction set.

================================================

This is the beginning of 2014, in fact, 4 and 4S users are quite a lot, and iPhone3 and other machines almost no, so our instruction set minimum must be based on ARMV7.

Therefore, the value of architecture is selected: ARMv7 armv7s arm64

PS: Minimum support required when selecting Arm64 5.1.1:

1, if you want your app to be able to run most efficiently on each machine, you need to change build Active Architecture only to No,valid architectures select the corresponding instruction set: ARMv7 armv7s arm64. This will compile the corresponding code for each instruction set, so the final IPA volume is roughly 3 times times, and the release version must be No.

2, if you want to keep the app volume is minimal, then the current stage should choose valid architectures as ARMV7, so build Active Architecture only Select Yes or no does not matter

Original address: http://justsee.iteye.com/blog/2009954

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.