error: module file's minimum deployment target is ios8.3 v8.3

Vatsal Manot picture Vatsal Manot · Mar 27, 2015 · Viewed 42.6k times · Source

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

Answer

alreadytaken picture alreadytaken · Apr 3, 2015

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:

  1. Setting the iOS Deployment Target to 8.0 (Which is the same as the rest of the project)

Note iOS version mismatch in this screenshot (one is 10.0, other is 9.3) Note iOS version mismatch

Note iOS versions now match (make sure they all match) iOS versions changed to match

  1. Doing a clean (Command+Shift+k) and build

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.