Re: Can application built on iOS 3.2 run on iOS 3.1?
Re: Can application built on iOS 3.2 run on iOS 3.1?
- Subject: Re: Can application built on iOS 3.2 run on iOS 3.1?
- From: email@hidden
- Date: Mon, 05 Jul 2010 07:55:27 -0400
On Jul 5, 2010, at 12:11 AM, Kin Mak wrote:
>
> I have an iPhone application on sale that supports iOS 3.1 or later. I would like to submit an update of the application that is iOS 4.0 tested and can still run on iOS 3.1/3.2.
>
> In order to test and debug on iOS 4.0 environment, I have to use XCode 3.2. However, XCode 3.2 seems to generate only binary on either iOS 3.2 or 4.0.
>
> So my question is whether an application that is built on iOS 3.2 can still run on iOS 3.1? (Supposedly, the application are not using any iOS 3.2 specific APIs)
>
>
> Any tips will be greatly appreciated.
>
> Thanks in advance
> Kin Mak
Yes, you can. Set the Base SDK to 4.0 and the Deployment Target to 3.1. See the documentation and release notes (Xcode's Help menu -> Xcode Release Notes).
To make certain you are not using any 3.2/4.0 specific APIs, you need to test it on a 3.1 device. There are ways to use 4.0/3.2 APIs on devices running it using conditional code, but if you're only using 3.1 APIs, you don't have to do anything extra.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden