Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swift 4 - Setting a minimum deployment target

The current deployment target is 11.0 which is fine. However, I would like to know how I would set a minimum of 8.0?

like image 710
Niall Kiddle Avatar asked Sep 28 '17 09:09

Niall Kiddle


People also ask

How do I change the minimum deployment target in iOS?

Simply make a manual update to the Development target in the Xcode Pods file. It is your pod files deployment target iOS Version, not your project deployment target iOS Version, that is causing the issue; thus, you must update the deployment iOS version for your pods to anything more significant than 8.0 as well.

How do I change the deployment target in Xcode?

Select the Build Settings tab at the top and search for deployment target. The Deployment section shows four build settings that relate to the deployment target: iOS Deployment Target. macOS Deployment Target.

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 ...


1 Answers

You can set the deployment target in your project's target's general settings.

Adjust Deployment target

You can read more about this in Apple documentation "Setting Deployment Target".

like image 184
Craig Grummitt Avatar answered Oct 12 '22 17:10

Craig Grummitt