错误:模块文件的最小部署目标是ios8.3 v8.3 [英] error: module file's minimum deployment target is ios8.3 v8.3

查看:585
本文介绍了错误:模块文件的最小部署目标是ios8.3 v8.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有在Xcode游戏中导入动态框架的尝试都会产生以下错误:

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


推荐答案

你可能已经创建了更新Xcode后的目标,在该目标的构建设置中将 iOS部署目标设为8.3。

You might have created a target after updating Xcode, which made 8.3 the iOS Deployment Target in Build Settings for that target.

我修复此问题:


  1. iOS部署目标设置为8.0(与项目的其余部分相同)

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




注意此截图中的iOS版本不匹配(一个是10.0,另一个是9.3)

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

注意iOS版本现在匹配(确保它们都匹配)

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




  1. 干净利落(Command + Shift + k)并建立

如果clean + 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.

这篇关于错误:模块文件的最小部署目标是ios8.3 v8.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆