ios - 错误 : module file's minimum deployment target is ios8. 3 v8.3

标签 ios xcode swift xcode6 swift-playground

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

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

最佳答案

您可能在更新 Xcode 后创建了一个目标,这使得 8.3 成为该目标build设置中的 iOS 部署目标

我通过以下方式解决了这个问题:

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

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. 清理(Command+Shift+k)并构建

如果 clean+build 没有修复它,从方案菜单切换您要部署到的设备/模拟器并重新构建应该会有所帮助。

关于ios - 错误 : module file's minimum deployment target is ios8. 3 v8.3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29307117/

相关文章:

ios - UITabBarController 在 Storyboard的上方添加新的 UIViewController (Swift)

iphone - 应用程序关闭后如何保存变量?

ios - rawValue 属性在哪里?

swift - 使用 UISwitch 显示/隐藏表格 View 单元格

IOS Swift 图像加载到 UIImageView 时旋转

iphone - objective c 2.0 - 关键字转换与非关键字转换

ios - IBInspectable 和浮点值

macos - 如何在 OS X 中创建自定义工具栏?

ios - 如何在 SwiftUI 中基于绑定(bind)枚举更改 View 的样式?

ios - 如何处理 : App Store Connect Operation Error (ERROR ITMS-90744: "Unsupported Xcode or SDK Version. )