【问题标题】:Adding framework manually - Module compiled with swift 4.0 cannot be imported in Swift 4.0.3手动添加框架 - 使用 swift 4.0 编译的模块无法在 Swift 4.0.3 中导入
【发布时间】:2018-05-26 04:21:12
【问题描述】:

我有一个自定义框架(不使用 pod 或 carthage)。我的 Mac 上的 Swift 是 4.0.3。在编译项目时出现错误:

使用 swift 4.0 编译的模块无法导入 Swift 4.0.3

我知道这个话题的讨论有点像here。但是,在我的情况下,框架是手动添加的。

【问题讨论】:

标签: ios swift xcode


【解决方案1】:

在将框架添加到项目之前,您需要使用 swift 4.0.3 重新编译框架。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-03-25
    • 1970-01-01
    • 1970-01-01
    • 2017-11-08
    • 2018-04-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多