Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone App baseSDK and iOS deployment target

Tags:

iphone

I am in the process of deploying my app to the app store. I am not sure what to set for baseSDK and iOS deployment target. I have the latest iOS 4.1 installed. How can I make sure that it runs on all the devices. My application was build on 4.0.1 (I think).

My iPod has iOS 4.1 (latest) and my iPhone has 4.0. To make my application work on the iPhone I have to lower the baseSDK and iOS deployment target to 3.2.

like image 258
azamsharp Avatar asked Sep 13 '10 19:09

azamsharp


People also ask

Is iOS deployment target?

In short, every application that runs on one of Apple's platforms has a deployment target. A deployment target is nothing more than the minimum version of the operating system the application can run on. Fire up Xcode and create a new project by choosing the App template from the iOS > Application section.

What do you think is a sensible minimum iOS deployment target?

Suggested approach: Unless you have specific needs, a safe answer is Apple's: “the current version minus 1.” Note that e-commerce companies – i.e., companies that rely on users buying things through their app – are more likely to support a wider range of deployment targets, because even if only 5% of their users are on ...

How do I deploy an app to an iOS device?

Install the App on User Devices For macOS, double-click the file to install and run it. To install iOS, iPadOS, tvOS, or watchOS apps using Xcode: Attach the device to the computer, or attach the paired phone for a watchOS device. Select Window > Devices and Simulators, and then select the Devices tab.


1 Answers

You generally want to build against the latest SDK, but set the deployment target to the earliest you can. So, to run on as many devices as possible, use SDK 4.1, but set your deployment target to 3.0 or 3.1.3. I strongly suggest getting hold of an older iPod touch and testing on older devices if you want to support them. Its easy to miss an API call that's only supported on, say, 4.0.

like image 171
Ben Gottlieb Avatar answered Sep 20 '22 12:09

Ben Gottlieb