When a company is refactoring a project, one of the changes is to tweak the iOS instruction set. The change instruction set mainly can control the installation model of the mobile phone application, and also can control the related simulator and the real machine during the development process. They are backwards compatible in principle, For example, Iphone5 's instruction set is armv7s and also compatible with ARMV7.
As for what is the instruction set, it will not be elaborated here, because the things involved are not words can be explained. Interested friends can check the relevant information on their own.
We mainly introduce the iOS instruction set here. Generally speaking, the iOS instruction set is roughly the following: ARMv7 | armv7s | arm64 | i386 | x86_64. armv6|armv7|armv7s is a 32-bit arm instruction set , arm64 is a 64-bit instruction set ; The i386|x86_64 is the instruction set for the Mac processor, and the i386 is for the Intel Universal Microprocessor 32 architecture. The x86_64 is a 64-bit processor for the x86 architecture. When using the iOS emulator you will encounter i386|x86_64, and the iOS emulator does not have an arm instruction set.
The different models of the iphone also correspond to different instruction sets. The current instruction set for mobile devices is as follows:
arm64:iphone6s | iphone6s plus|iphone6| IPhone6 plus|iphone5s | ipad air| ipad mini2 (ipad mini with Retina Display)
Armv7s:iphone5|iphone5c|ipad4 (IPad with Retina Display)
Armv7:iphone4|iphone4s|ipad|ipad2|ipad3 (The New iPad) |ipad mini|ipod Touch 3g|ipod TOUCH4
Simulator 32-bit processor test requires i386 architecture
Simulator 64-bit processor test requires x86_64 architecture
True 32-bit processor requires ARMV7, or armv7s architecture
The real machine 64-bit processor needs arm64 architecture to go ....
iOS instruction Set