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.
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.
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 ...
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With