All my iOS build targets are:
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
but it's saying I'm supporting 9.0. Am I misunderstanding something?
Error:
The package product 'Crypto' requires minimum platform version 13.0 for the iOS platform, but this target supports 9.0
The minimum supported release of iOS is iOS 11.
Do I need to change the Minimum Deployment Target because of the latest news in the Apple Developer News. Currently, the Minimum Deployment Target of my apps is iOS 10.
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).
You have to add the platforms section to your Package.swift file like line below:
let package = Package(
name: "YOUR_PACKAGE_NAME",
platforms: [
.iOS(.v12),
.tvOS(.v12),
.watchOS(.v5),
.macOS(.v10_15)
],
That's the usual case to cause this error.
Best.
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