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