问题描述
关于iOS 4.3设备支持主题的信息目前很薄。然而,iPhone 3G设备(和旧的iPod touch设备)缺乏4.3 beta版本,导致许多人认为这可能是旧设备操作系统升级的结束。即使这个假设现在不正确,有一天不会。有硬件限制将最终阻止苹果支持最新的iOS更新设备。
鉴于iPhone应用程序开发调试需要iOS SDK和iOS版本是一样的,在iPhone 3G(或更旧的设备)上进行设备性能测试时,如何继续使用iOS 4.3.x SDK发行版?有没有通过不同的iOS / SDK版本进行调试的方法?或者我们必须简单地放弃旧设备的开发支持,并告诉那些不升级硬件的客户:艰难?
在旧的手机上运行使用4.3 SDK编写的代码,您应该没有问题。我目前正在使用最新的beta SDK进行测试,但运行3.1.3版iPhone 3G上的代码。只要您仔细检查是否存在较新的方法/类,那么您的应用程序将继续运行在旧的操作系统上。我不知道你听到哪些操作系统和SDK版本需要匹配来调试;这不是真的。
如果你愿意放弃最新的功能,你应该能够支持原来的iPhone,只要你喜欢。
Information on the subject of iOS 4.3 device support is pretty thin on the ground at the moment. However, the lack of a 4.3 beta for iPhone 3G devices (and older iPod touch devices) leads many to believe this could be the end of OS upgrades for older devices.
Even if this assumption is incorrect right now, one day it won't be. There are hardware limits that will eventually stop Apple from supporting the oldest of devices with new iOS updates.
Given that iPhone application development debugging has the requirement of both iOS SDK and iOS version being the same, how would one continue development using iOS 4.3.x SDK releases while doing device performance testing on an iPhone 3G (or older device)? Are there ways of debugging over different iOS/SDK versions? Or do we have to simply drop development support for the older devices and tell those customers who don't upgrade their hardware: "tough"?
You should have no problem running code written using the 4.3 SDK on an older phone. I'm currently doing testing using the latest beta SDK, but running the code on a iPhone 3G running 3.1.3. As long as you are careful to check for the existence of newer methods/classes, your app will continue to run on old OSs. I'm not sure where you heard that OS and SDK versions need to match to debug; that is not true.
If you're willing to forgo the latest features, you should be able to support the original iPhone as long as you like.
这篇关于iOS 4.3 SDK - 在3G设备上调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!