All attempts to import a dynamic framework in an Xcode playground yield the following error:
error: module file's minimum deployment target is ios8.3 v8.3
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.
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.
Deployment Targets are a powerful concept on the Cocoa platform that allow you to build applications that take advantage of new features in the latest platform SDKs, but can still run on older versions of the operating system.
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.
You might have created a target after updating Xcode, which made 8.3 the iOS Deployment Target in Build Settings for that target.
I fixed this by:
Note iOS version mismatch in this screenshot (one is 10.0, other is 9.3)
Note iOS versions now match (make sure they all match)
If a clean+build doesn't fix it, switching the device/simulator that you are deploying to from the scheme menu and building again should help.
This error might also crop up if you're unit testing. So in addition to what @Tony and @Allreadyhome has suggested, do the following:
And you should be good.
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