iOS 4.3 分发二进制文件不再适用于 iPhone 3G/第二代 iPod Touch?
使用 iOS 4.3 SDK 进行编译是否会删除对 iPhone 3G 和第二代 iPod touch 设备的支持?
升级后,我发现临时构建和分发构建不再在这些设备上运行,但将 iOS 4.2 SDK 安装到另一个目录,并且不对代码或构建设置进行任何更改,它确实可以正常工作。
应用程序生成如下所示的崩溃报告:
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
可以看出,堆栈跟踪中没有对实际应用程序的单个引用,并且只有两个线程正在运行。
是否有任何地方记录了那些旧设备的编译已被删除的情况?有没有什么方法可以添加某种构建设置,以便它在这些设备上保持功能?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
iPhone 3GS 和第 3 代 iPod Touch 之前的设备不支持 iOS 4.3(8GB 型号除外,该型号也不支持)。
来源:Apple.com(滚动到底部)
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)