1
我正在使用Xcode 7 Beta3。Xcode 7 - Cocoapod無法導入
我想包括一個依賴,所以這是我podfile:
platform :ios, '8.0'
use_frameworks!
target 'Test' do
pod 'Alamofire', '1.2.3'
end
target 'TestTests' do
end
target 'TestUITests' do
end
但是,當我導入這個類:
import Alamofire
我得到:
No such module Alamofire
任何人都有這個問題呢?
感謝和問候!
你爲什麼使用舊的測試版?即使它不相關,我也會更新它。 –
您應該使用Alamofire的Swift 2.0分支: pod'Alamofire',::git =>'https://github.com/Alamofire/Alamofire.git',:branch =>'swift-2.0' –
@ Felipe Cypriano如何更新我的Beta3? @彼得·威爾西沒有爲我工作 –