1
我試圖使用領域與雨燕2.0 我Podfile很簡單:爲什麼不能訪問的CocoaPods RealmSwift
source 'https://github.com/CocoaPods/Specs.git'
pod 'AWSS3', '~> 2.2.0'
# Realm Frameworks
use_frameworks!
pod 'RealmSwift', :git => 'https://github.com/realm/realm-cocoa.git', :branch => 'swift-2.0'
但是我卻越來越
[!] Unable to satisfy the following requirements:
- `RealmSwift (from `https://github.com/realm/realm-cocoa.git`, branch `swift-2.0`)` required by `Podfile`
的Podfile看起來好形成給我。我會很感激任何幫助。
你在其他項目中使用過Realm Frameworks嗎?我之前有過這個問題(與另一個Pod有關),事實證明這是我嘗試使用的Pod,而不是我的Podfile。 – pob21
我剛試過你的Podfile,安裝時沒有問題。除了您發佈的內容,Podfile中是否還有其他內容? – joern
@ joem號就是這樣。我錯誤地發佈的唯一的東西是'源'https://github.com/CocoaPods/Specs.git''應該是代碼格式。 – petegrif