【问题标题】:PromiseKit doesn't compile with Swift 2 and Xcode 7PromiseKit 不能与 Swift 2 和 Xcode 7 一起编译
【发布时间】:2015-08-15 20:04:22
【问题描述】:

这是我在安装 PromiseKit 后尝试构建项目时看到的错误。

Cannot import module being compiled.

这是我的 PodFile 包含的用于安装 PromiseKit 的内容。

pod 'PromiseKit', :git => 'https://github.com/mxcl/PromiseKit.git', :branch => 'swift-2.0-minimal-changes'

我尝试在 PodFile 中使用以下语句,但它引发了更多编译错误,所以我尝试了上述语句。

pod "PromiseKit", "~> 2.0"

【问题讨论】:

    标签: xcode swift2 promisekit


    【解决方案1】:

    这是最小更改分支中的错误。 swift-2.0-beta5 分支将起作用,尽管它可能需要在您的项目中进行更多更改。我会修复minimal-changes中的bug。

    编辑:修正:https://github.com/mxcl/PromiseKit/commit/d969c72b9f959d7fb5a68f117142c79bf0c3098d

    【讨论】:

    • 感谢您提供出色的产品和出色的客户服务:P
    • ^说真的。谢谢@mxcl。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-09-24
    • 2016-03-15
    • 2015-09-14
    • 1970-01-01
    • 2015-02-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多