Abhishek Sahay
Abhishek Sahay

Reputation: 186

How can I make sure that app developed in xcode4.2 will support ios4 as well as ios5

I am using xcode4.2 , I want my app to support ios4 and ios5 as well,can someone guide me how can i make sure that my app will support both and how can I test my app in simulator(for ios4 and ios5)

Upvotes: 0

Views: 89

Answers (2)

CodaFi
CodaFi

Reputation: 43330

ABSOLUTELY NO SIMULATOR. The simulator is WIDLY different from a real iOS device. I recommend buying something cheap off of EBay and loading iOS 4.x into it if you really want to do some serious issue finding. Speaking from experience, we released a buggy version that was just meant to be a minor bug fix (ARC+Leaves= Epic Fail), anyways, because we did not test on a physical device, we shipped a build that crashed on startup. You NEED to test compatibility on a physical device.

Upvotes: 1

kamprath
kamprath

Reputation: 2308

In your target's summary view (select project icon at top of Navigator view, elect your target in the editor view, select the Summary tab), set the "Deployment Target" to 4.0, then make your code such that you either don't use any API newer than 4.0 or you conditionally use it based on the installed OS version.

Upvotes: 0

Related Questions