iPhone 兼容性
我正在与开发人员合作构建 iPhone 应用程序,但遇到了兼容性问题。该应用程序在运行 IOS 3.1.3 的 Ipod touch 上运行时存在错误。然而,更高版本的 IOS 在另一台 iPod touch 上运行良好(不确定操作系统,但最近更新了)。他正在标准模式下编译(据我所知,支持 ARM6 和 ARM7)。
我被告知最新的 SDK 不允许 3.1.3 模拟,因此他无法解决不兼容性问题。这是真的吗?
如果是这样,你如何编写向后兼容的 iPhone 应用程序?
应用商店会接受不是使用最新 SDK 编译的应用吗?
编写甚至向后兼容第一代 iPhone 的 iPhone 应用程序是否很常见?
如果他将目标操作系统设置为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).
I was told the latest SDK doesn't allow for 3.1.3 emulation so he can't troubleshoot the incompatibility. Is this true?
If so, how do you write backwards compatible iphone apps?
Will the app store accept apps not compiled using the latest SDK?
Is it common to write iphone apps that are backwards compatible even to the first generation of iphone?
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这是真的。 iOS 4.3 SDK 附带的模拟器支持 iOS 3.2 及更高版本。
如果您需要支持 3.1.3 或更早版本,则应在运行该版本操作系统的设备上进行测试。
我不这么认为。但是,您可以使用当前的 SDK 来构建 3.1.3——只需将部署目标设置为 3.1.3。限制是您无法在模拟器上进行测试或调试(无论如何,这对于实际测试来说并不是那么有用)。
不。第一个 iPhone 操作系统不可能使用第三方应用程序(当时它甚至还没有被称为 iOS)。编写一个可以追溯到 2.0 的应用程序可能是可能的,但理智的开发人员会考虑的最旧版本是 3.1.2 或 3.1.3。
这会非常好,也是许多开发人员所要求的,但现在还没有发生。
Yes, it's true. The simulator included with the iOS 4.3 SDK supports iOS 3.2 and later.
If you need to support 3.1.3 or older, you should test on a device running that version of the OS.
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).
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.
That'd be very nice, and something that many developers have asked for, but that doesn't happen right now.