error: module file's minimum deployment target

2019-01-13 17:22发布

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

8条回答
劳资没心,怎么记你
2楼-- · 2019-01-13 17:47

As mentioned by Tony you have to

1. Set the iOS Deployment Target to 8.0

If using Pods the further step you may need to do:

2. Go into the Pods dependancies and change the deployment targets to 8.0 also.

In my case, I had to change the deployment target on each of my pods to 8.0 as they were all on 8.3.

查看更多
放荡不羁爱自由
3楼-- · 2019-01-13 17:50

1) Goto, Target -> General -> deployment Info

2) set the deployment Target as the one being prompted in the error message(8.3 in your case).

3) product -> clean

4) product -> Build

查看更多
登录 后发表回答