Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prompted to Update iOS Deployment Target to 12.0 when deployment set to iOS 10.0

Tags:

ios

swift

xcode12

I have updated to Xcode 12.0. My app has a deployment target of 10.0 but after updating to Xcode to 12.0, I am getting the following for all the pods in my podfile:

Screenshot 1: Build Settings

Update iOS Deployment Target
This will update the minimum deployment target of Target 'target' to '12.0'.

Why do i need to update the minimum deployment to 12.0 when my minimum deployment for this app is set for 10.0?

Do i uncheck 'Build Settings' and click on Perform Changes or do i update?

like image 656
LizG Avatar asked Sep 24 '20 18:09

LizG


People also ask

How do I upgrade iOS deployment target?

Select pods from the drop-down menu. Build settings may be found by selecting each project and target and clicking on them. Change the iOS Deployment Target version from 8.0 to anything higher than 8.0 in the Deployment subsection (better to try the same project version).

What should be iOS deployment target?

That is the iOS deployment target or the minimum deployment target for iOS. It means that the application runs on any iOS device with iOS 14.3 or later installed. The values the dropdown menu lists depend on the version of Xcode you are using. Xcode 12, for example, no longer supports iOS 8.

How do I change target iOS in Xcode?

To change your deployment target, open up your project file in Xcode and check the setting under Build Settings -> Deployment(...) Check this answer to add earlier devices support.

What is a deployment target?

Deployment targets are what Octopus Deploy deploys to. They can be Windows servers, Linux servers, Kubernetes (K8s) clusters, Azure Web Apps, and more. Environments are how you organize your deployment targets into groups that represent different stages of your deployment pipeline.


3 Answers

You don't have to do it. Uncheck (note that there could be other types of changes that you may want to perform) & Perform Changes, or hit cancel if all changes are for min deployment target.

like image 58
Alladinian Avatar answered Oct 17 '22 02:10

Alladinian


With Xcode 12.3, the latest as of this writing, you can upgrade the minimum deployment target to iOS 12.0 and support a wide range of devices, according to the latest iOS version of this matrix, assuming your users will make the upgrade to iOS 12. It appears the only device left out is the iPhone 5 and 5C. I also found a complete matrix that it appears to include all devices and iOS versions.

like image 5
Hahnemann Avatar answered Oct 17 '22 03:10

Hahnemann


I faced that kind of problem two years ago ,that sounds weird but I had to keep old Xcode version. I was using Carthage not pods by the way

like image 2
roadRunner Avatar answered Oct 17 '22 01:10

roadRunner