views:

76

answers:

1

Hi,

I have an application developed for iPhone OS 3.+. This application uses in-app purchase.

I would like to release a version now, that it is compatible with 2.+.

Obviously I will have to use that techniques described by Apple that tests for the presence of the frameworks I am using from 3.0 and make alternative code for 2.0, without using those 3.0 frameworks.

my question is: my iPhone is updated to 3.0. How do I test to see for 2.0? Do I need an iPhone that is already using 2.0 or is there anything I can do to simulate this?

thanks for any answer

+2  A: 

Yes, you'll need a 2.x device. Optionally, you can installed an older version of Xcode on Leopard, and test using the sim, but still, you should always test on a device.

Ben Gottlieb
You don't need an older version of Xcode. When you installed the latest SDK there was an option to install support for 2.x OS versions. However this is unselected by default. You may need to reinstall...
MihaiD
Yes I know. My Xcode on Snow Leopard has all versions from 2.0 up. My problem is to test a hybrid 2.0/3.0 application...
Digital Robot
another problem is that itunes does not let you downgrade the OS on your iphone...
Digital Robot
Xcode on Snow Leopard will let you build for 2.x *devices*, but not the simulator.
Ben Gottlieb
Yes I know. My problem is not build, is test.
Digital Robot
Exactly, which is why you'll either need to use Leopard or an actual 2.x device.
Ben Gottlieb