Does compiling with the iOS 4.3 SDK remove the support for the iPhone 3G and 2nd generation iPod touch devices?
After upgrading, I found that the ad-hoc and distribution builds no longer run on those devices, but installing the iOS 4.2 SDK to another directory, and performing no changes to the code or build settings, it does work correctly.
The application produces a crash report like the following:
OS Version: iPhone OS 3.0 (7A341)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3014579c 0x3000c000 + 1283996
Thread 1:
0 libSystem.B.dylib 0x31d47158 mach_msg_trap + 20
1 libSystem.B.dylib 0x31d49ed8 mach_msg + 60
2 CoreFoundation 0x3025454e CFRunLoopRunSpecific + 982
3 CoreFoundation 0x30254164 CFRunLoopRunInMode + 44
4 WebCore 0x3588dbc8 RunWebThread(void*) + 412
5 libSystem.B.dylib 0x31d705a0 _pthread_body + 20
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x39d4a928 r3: 0x00000113
r4: 0x00114940 r5: 0x3893b29c r6: 0x38204d80 r7: 0x0031acf0
r8: 0x00000000 r9: 0x00000001 r10: 0x00000000 r11: 0x00000000
ip: 0x39d802b8 sp: 0x2fffee10 lr: 0x3000852c pc: 0x3014579c
cpsr: 0x80000010
As can be seen, there is not a single reference in the stack trace to the actual application, and there are only the two threads running.
Is it documented anywhere that compiling for those older devices has been dropped? Is there any way to add some kind of build setting so that it does remain functional on those devices moving forward?
iOS 4.3 is not supported on devices older than iPhone 3GS and iPod Touch 3rd Gen (excluding the 8GB model, which is also not supported).
Source: Apple.com (scroll to bottom)
User contributions licensed under CC BY-SA 3.0