Branch in a private container

I have a private pod that has two branches and is developing.

My current project uses this module:

platform :ios, "7.0" target "FooTarget" do pod 'INCFoo' end 

So, I'm currently using master. I would like to use the development branch. I tried:

 platform :ios, "7.0" target "FooTarget" do pod 'INCFoo', :branch => 'develop' end 

But I get: [!] Unknown external source parameters for 'INCFoo': {branch => "develop"}

Finally, it works with:

 platform :ios, "7.0" target "FooTarget" do pod 'INCFoo', :git => ' git@github.com /INCFoo.git' :branch => 'develop' end 

Is there any way to do this without adding a repository?

thanks

+5
source share

Source: https://habr.com/ru/post/1214812/


All Articles