badgerr
badgerr

Reputation: 7982

iOS 4.3 SDK - Debugging on a 3G Device

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"?

Upvotes: 2

Views: 1737

Answers (3)

abhishek kumar
abhishek kumar

Reputation: 95

For using iPhone 3G as debugging device in Xcode 4.3 just go to Build Setting and edit the Architectures to armv6 and armv7 both. armv6 architecture is used for older devices. Select the Deployment target 3.0. This will work.

Upvotes: 0

You have to set a deployment target with an earlier build number - you can still target 3.0. You just have to be careful about what frameworks and calls you use and check for compatibility.

Since the newer SDK's do not have simulators that support earlier IOS versions, it's important to keep around devices with older builds.

Upvotes: 2

kubi
kubi

Reputation: 49384

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.

Upvotes: 3

Related Questions