One of the changes in the company's project reconstruction is to adjust the iOS instruction set. The change of the instruction set can mainly control the installation model of the mobile phone application, and can also control the related simulators and related simulators during the research and development process. Real machine. They are backward compatible in principle, for example, the instruction set of iphone5 is armv7s and is also compatible with armv7.
As for what an instruction set is, it will not be explained here, because the things involved cannot be explained in a few words. Interested friends can check the relevant information by themselves.
We mainly introduce the iOS instruction set here. Generally speaking, the iOS instruction set is roughly as follows: armv7 | armv7s | arm64 | i386 | ; i386|x86_64 is the instruction set of the Mac processor, i386 is for the Intel general-purpose microprocessor 32 architecture. x86_64 is a 64-bit processor for the x86 architecture. When using the iOS simulator, you will encounter i386|x86_64, iOS The emulator does not have the arm instruction set.
Different models of Apple mobile phones also correspond to different instruction sets. The current instruction sets of mobile devices are roughly 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)
Simulator 32-bit processor test requires i386 architecture
Emulator 64-bit processor testing requires x86_64 architecture
Real machine 32-bit processor requires armv7, or armv7s architecture