Cocoapods dependency in pod spec not working

后端 未结 2 648
Happy的楠姐
Happy的楠姐 2020-12-23 11:48

I\'m getting a syntax error with this spec file:

Pod::Spec.new do |s|

s.name         = \"BSImageLoader\"

s.version      = \"0.1.3\"

s.summary      = \"The         


        
2条回答
  •  攒了一身酷
    2020-12-23 12:13

    The dependency directive of the podspec DSL supports only the name of the dependency and any optional version requirement. The :git option is not supported. You might use it in your Podfile or you might want to use a custom private repo in addition to the master repo.

提交回复
热议问题