CocoaPods: point to a branch in pod spec

后端 未结 2 657
渐次进展
渐次进展 2021-02-05 00:53

I\'m trying to install code from a repository\'s branch on a pod spec, and based on the documentation, this should work:

s.dependency \'repository_name\',
:git =         


        
2条回答
  •  攒了一身酷
    2021-02-05 01:32

    You can't use a pod dependency like that, it only supports "name", "version". Source: guides.cocoapods.org. It is expected that the :git and :branch metadata will come from the podfile.

提交回复
热议问题