【发布时间】:2014-09-28 04:57:34
【问题描述】:
我正在尝试在 pod 规范上安装来自存储库分支的代码,并且根据文档,这应该可以工作:
s.dependency 'repository_name',
:git => 'https://github.com/account_name/repository_name.git',
:branch => 'experimental_branch'
但我收到类似 [!] Unsupported version requirements 之类的错误。更新 CocoaPods 可能会解决此问题。
直接从 pod 文件安装时有效:
pod 'ObjectiveRecord', :git => 'https://github.com/supermarin/ObjectiveRecord.git', :branch => '2-0-experimental'
有人知道吗?谢谢!
【问题讨论】:
标签: ios git cocoa cocoapods podspec