我正在为越狱的iOS 设备开发应用程序。
我想定位 iPhone 3G (iOS 4.3.x) 和 iPhone 4/4S (iOS 5.x) 展位
我使用 Xcode 4.3.x 成功生成了胖二进制文件
marsu:LatestBuild sst$ otool -h myproduct.armv6
myproduct.armv6 (architecture armv7):
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
0xfeedface 12 9 0x00 2 20 2664 0x00200085
myproduct.armv6 (architecture armv6):
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
0xfeedface 12 6 0x00 2 19 2648 0x00000085
在 iPhone 3G 上运行这个没问题 在 iPhone 4 上运行这个,我收到了
iPhone:~ root# ./myproduct.armv6
Killed: 9
只在 iPhone 4 上运行 armv7 是可以的。
我错过了什么?