PromiseKit不使用Swift 2和Xcode 7进行编译

use*_*455 1 xcode promisekit swift2

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

Cannot import module being compiled.
Run Code Online (Sandbox Code Playgroud)

这是我的PodFile包含的安装PromiseKit的内容.

pod 'PromiseKit', :git => 'https://github.com/mxcl/PromiseKit.git', :branch => 'swift-2.0-minimal-changes'
Run Code Online (Sandbox Code Playgroud)

我尝试在PodFile中使用以下语句,但它抛出了更多的编译错误,所以我尝试了上面的语句.

pod "PromiseKit", "~> 2.0"
Run Code Online (Sandbox Code Playgroud)

mxc*_*xcl 6

这是minimal-changes分支中的一个错误.该swift-2.0-beta5分公司将工作,虽然它可能需要在项目中更多的变化.我将修复该错误minimal-changes.

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

  • 感谢您提供优质的产品,以及非常棒的客户服务:P (2认同)