I am developing an application for jailbroken iOS devices.
I'd like to target booth iPhone 3G (iOS 4.3.x) and iPhone 4/4S (iOS 5.x)
I successfully generated fat binaries with 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
Running this on an iPhone 3G is OK Running this on an iPhone 4, I received
iPhone:~ root# ./myproduct.armv6
Killed: 9
While running the armv7 only build on the iPhone 4 is OK.
What am I missing ?