iPhone5是32位的,所以按照64位编译出来的32位不支持,下面3种方案的,选择第3中就可以了。
5S是64位。
- e8000087: Your iOS device does not support the selected target platform architecture. This can happen when you try to run a 64-bit iOS application on a 32-bit iOS device. To get your application running on a device you must do either one of the following:
- Change the target device to a 64-bit iOS device.
- In the Project Manager, choose iOS Device - 32 bit as the target platform to run your application on any 32-bit iOS device.
- Enable the Generate iOS universal binary file (armv7 + arm64) option to build your application so that it supports both 32-bit and 64-bit iOS devices. You can find this option in:
- Project > Options > Delphi Compiler > Compiling > Other options (Delphi)
- Project > Options > C++ Compiler > Advanced > Other options (C++)