2015-08-15 31 views
1

這是我在安裝PromiseKit之後嘗試構建我的項目時看到的錯誤。PromiseKit不能用Swift 2和Xcode 7編譯

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" 

回答