iPhone 兼容性

发布于 2024-11-05 07:10:51 字数 465 浏览 2 评论 0原文

我正在与开发人员合作构建 iPhone 应用程序,但遇到了兼容性问题。该应用程序在运行 IOS 3.1.3 的 Ipod touch 上运行时存在错误。然而,更高版本的 IOS 在另一台 iPod touch 上运行良好(不确定操作系统,但最近更新了)。他正在标准模式下编译(据我所知,支持 ARM6 和 ARM7)。

  1. 我被告知最新的 SDK 不允许 3.1.3 模拟,因此他无法解决不兼容性问题。这是真的吗?

  2. 如果是这样,你如何编写向后兼容的 iPhone 应用程序?

  3. 应用商店会接受不是使用最新 SDK 编译的应用吗?

  4. 编写甚至向后兼容第一代 iPhone 的 iPhone 应用程序是否很常见?

  5. 如果他将目标操作系统设置为3.1.3,如果存在不兼容的方法调用,编译器不应该抛出错误吗?

谢谢!

I'm working with a developer to build an iphone app and am running into a compatibility issue. The app is buggy when running on a Ipod touch running IOS 3.1.3. However, a later version of IOS on another Ipod touch runs fine (not sure of the os but was recently refreshed). He's compiling in standard mode (from what i can tell, that supports ARM6 and ARM7).

  1. I was told the latest SDK doesn't allow for 3.1.3 emulation so he can't troubleshoot the incompatibility. Is this true?

  2. If so, how do you write backwards compatible iphone apps?

  3. Will the app store accept apps not compiled using the latest SDK?

  4. Is it common to write iphone apps that are backwards compatible even to the first generation of iphone?

  5. If he sets the target os to 3.1.3, if there is an incompatible method call, shouldn't the compiler throw an error?

Thanks!

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

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

发布评论

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

评论(1

简单气质女生网名 2024-11-12 07:10:51

我被告知最新的 SDK 没有
允许 3.1.3 模拟,所以他不能
解决不兼容问题。是
这是真的吗?

是的,这是真的。 iOS 4.3 SDK 附带的模拟器支持 iOS 3.2 及更高版本。

如果是这样,你如何倒写
兼容的 iPhone 应用程序吗?

如果您需要支持 3.1.3 或更早版本,则应在运行该版本操作系统的设备上进行测试。

应用商店会接受不接受的应用吗
使用最新的SDK编译?

我不这么认为。但是,您可以使用当前的 SDK 来构建 3.1.3——只需将部署目标设置为 3.1.3。限制是您无法在模拟器上进行测试或调试(无论如何,这对于实际测试来说并不是那么有用)。

编写 iPhone 应用程序是否很常见
甚至向后兼容
第一代 iPhone?

不。第一个 iPhone 操作系统不可能使用第三方应用程序(当时它甚至还没有被称为 iOS)。编写一个可以追溯到 2.0 的应用程序可能是可能的,但理智的开发人员会考虑的最旧版本是 3.1.2 或 3.1.3。

如果他将目标操作系统设置为3.1.3,如果
存在不兼容的方法调用,
编译器不应该抛出错误吗?

这会非常好,也是许多开发人员所要求的,但现在还没有发生。

I was told the latest SDK doesn't
allow for 3.1.3 emulation so he can't
troubleshoot the incompatibility. Is
this true?

Yes, it's true. The simulator included with the iOS 4.3 SDK supports iOS 3.2 and later.

If so, how do you write backwards
compatible iphone apps?

If you need to support 3.1.3 or older, you should test on a device running that version of the OS.

Will the app store accept apps not
compiled using the latest SDK?

I don't think so. However, you can use the current SDK to build for 3.1.3 -- just set the deployment target to 3.1.3. The limitation is that you just can't test or debug on the simulator (which isn't all that useful for actual testing anyway).

Is it common to write iphone apps that
are backwards compatible even to the
first generation of iphone?

No. Third party apps weren't a possibility for the first iPhone OS (which wasn't even called iOS at that point). It's probably possible to write an app that works back to 2.0, but the oldest version that sane developers would consider would be 3.1.2 or 3.1.3.

If he sets the target os to 3.1.3, if
there is an incompatible method call,
shouldn't the compiler throw an error?

That'd be very nice, and something that many developers have asked for, but that doesn't happen right now.

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