views:

70

answers:

1

Hey,

I've got a couple of applications in the App Store at the moment which I've had ready after the release of iOS4. If I try and download one of these in the App store on a 3.x device, it will tell me I need to upgrade. Is there a way to make my application not do this, as I don't think I am using any API calls specific to iOS4.

I originally thought that this could not be done but I just now installed 'Plants vs Zombies' and 'Angry Birds' on my iPod Touch (running 3.1.3) so it must be possible as I'm sure these have released updates recently, and being in the top5 games, I would have thought they were developed using the iOS4 SDK. I am hoping it is just one value somewhere but if anyone could let me know how to do it that would be awesome :).

+3  A: 

Easy. Open up your project info. Find this line "iPhone OS Deployment Target" select 3.0

You can still develop with the latest xcode and current 4.0 SDK, but if you dont make any 4.0 calls this should allow you to weak link to 3.0+ and allow apps to work.

You really should test this on a 3.0+ device to see if it works though. You can still set your Base SDK to 3.2 or 4.0.

alt text

John Ballinger
+1 - a picture is worth a thousand words, and then a little
adam_0
Yeah totally agreed, there are too many settings.Finally glad Stackoverflow now have the ability to easily upload images. Yay.
John Ballinger
Hey thanks I will give it a go. How can I test it without sending it to the App store though as Apple removed the previous SDK's from the Debug/Release/Distribution area.
ing0
This works however I've found that I can no longer debug to device unless I switch it back to 4.1 and obviously run on 4.1. Thanks though!
ing0