应用程序在运行 iPhone OS 3.0.1 的 iPhone 3G 以及运行 iPhone OS 3.0 和 Mac OS X 10.5.8 的 iPod touch 上崩溃

发布于 2024-08-04 00:33:42 字数 488 浏览 2 评论 0原文

我的应用程序被拒绝,因为它在运行 iPhone OS 3.0.1 的 iPhone 3G 以及运行 iPhone OS 3.0 和 Mac OS X 10.5.8 的 iPod touch 上崩溃。 ,我认为 iPhone 应用程序应该只在 iPhone 上进行测试。为什么他们在 Mac 上测试它? 我有一些在 SDK 3 上已弃用的方法,并且 Apple 要求应用程序应构建为官方 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.

Thanks in advance,
Sarah

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情独悲 2024-08-11 00:33:42

我的建议:忽略 Mac OS X 10.5.8 参考。我刚刚有一个应用程序被拒绝(具有相同的通知),经过测试(并借用了朋友的带有 OS 3.0.1 的 iPhone),我能够重复该问题。

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

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

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.

(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)

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)...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文