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
3
Answers
You can remove that package and add it again.
Find your suitable version/branch of your package in github and edit in here.
The easiest part would be to just change the iOS deployment target to your new minimum iOS version.
You can do this by selecting Project Target in Xcode -> General -> Deployment Info -> Here you can change Deployment Target.
You can follow this link for detailed information:-
https://www.avanderlee.com/workflow/minimum-ios-version/
Platforms!
You have to add the platforms section to your Package.swift file like line below:
That’s the usual case to cause this error.
Best.