运行 iPhone OS 3.0.1 的 iPhone 3G 和运行 iPhone OS 3.0 和 Mac OS X 10.5.8 的 iPod touch 上的应用程序崩溃 [英] app crash on iPhone 3G running iPhone OS 3.0.1 and iPod touch running iPhone OS 3.0 and Mac OS X 10.5.8

查看:29
本文介绍了运行 iPhone OS 3.0.1 的 iPhone 3G 和运行 iPhone OS 3.0 和 Mac OS X 10.5.8 的 iPod touch 上的应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的申请被拒绝,因为它在运行 iPhone OS 3.0.1 的 iPhone 3G 和运行 iPhone OS 3.0 和 Mac OS X 10.5.8 的 iPod touch 上崩溃.,我认为 iPhone 应用程序应该只在 iPhone 上进行测试.为什么他们在 mac 上测试它?我有一些在 SDK 3 上被弃用的方法,苹果要求应用程序应该构建到官方 SDK 2.2.1.所以我为条件编译制定了预处理器指令,例如 __IPHONE_3_0 并构建两个单独的可执行文件.我将基本 SDK 设置为更高版本的 iPhone 3,将 iPhone OS 部署目标设置为旧版本的 Iphone 2.2.1.我从 xcode 构建应用程序,没有错误或警告,它在模拟器上运行.当我转到模拟器版本的构建目录并尝试运行应用程序时,它失败了.这就是应用程序在 Mac OS X 10.5.8 上崩溃的意思吗?我现在运行的是 Mac OS X 10.5.7.我需要尽快重新提交应用程序.我将不胜感激.

My application was rejected because it is crashing on iPhone 3G running iPhone OS 3.0.1 and iPod touch running iPhone OS 3.0 and Mac OS X 10.5.8. ,I thought that iPhone apps should be tested only on iPhone . Why they test it on the mac? I had some methods that was deprecated on SDK 3, and apple requires that the app should be build to the official SDK 2.2.1. so I made pre-processor directives for the conditional compilation such as __IPHONE_3_0 and build two separate executables.I set the base SDK to the higher version iPhone 3 and the iPhone OS deployment target to the older version Iphone 2.2.1. I build the application from xcode without errors or warnings and it is lunched on the simulator. when I go to the build directory of the simulator release and try to run the application it fails. Is that what they meant that the app crashes on Mac OS X 10.5.8? I'm running Mac OS X 10.5.7 now. I need to resubmit the app as soon as possible. I would appreciate any help.

提前致谢,莎拉

推荐答案

我的建议:忽略 Mac OS X 10.5.8 参考.我刚刚有一个应用程序被拒绝(有同样的通知),经过测试(并借用朋友的操作系统 3.0.1 的 iPhone)后,我能够重复这个问题.

My advice: ignore the Mac OS X 10.5.8 reference. I just had an app get rejected (with the same notice), and after testing (and borrowing a friend's iPhone with OS 3.0.1) I was able to duplicate the problem.

(换句话说,我认为关键问题是 iPhone 上的操作系统版本——Mac 参考只是他们用于内部测试的系统)

(In other words, I think the key issue is that version of the OS on an iPhone -- the Mac reference is just the system they used for their internal tests)

您能否解决已弃用的项目(即重写代码,以便您不必依赖旧操作系统的该功能)?我这么说的原因是,它不像网络浏览器(人们不升级).您的用户没有理由不升级(而且 Apple 会不断提示他们更新他们的设备)...

Can you work around the deprecated items (i.e. rewrite the code so you don't have to rely on that functionality for older OSes)? The reason I say that is, it's not like web browsers (where people don't upgrade). Your users have no reason not to upgrade (and they'll be constantly prompted by Apple to update their devices)...

这篇关于运行 iPhone OS 3.0.1 的 iPhone 3G 和运行 iPhone OS 3.0 和 Mac OS X 10.5.8 的 iPod touch 上的应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆