Cloning more than one private repo

Hi there,

We recently updated one of our iOS projects to access two of our private SDK’s.
I’m currently using the the Do Anything with Scripts step to clone the repos as follows
pod repo add gitlab-repo ssh://git@gitlab.com/EML_SDK/CocoaPods/repo.git .
pod repo add gitlab-repo ssh://git@gitlab.com:EDGE_SDK/CocoaPods/edge-repo.git .

It seems to be failing this step when I add more than one repo, if there is just the one it works fine.

Any help you could offer would be great :slight_smile:

Hi,

Normally the clone is on the $BITRISE_SOURCE_DIR
If you try to create 3 folders on this and clone each repo on the each folder ?

Good luck

HI @luluminshall! Do you have the same SSH keys registered to each repo?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.