I am trying to set up an iOS project on Travis-CI for the first time, and I am having trouble getting travis to add a private pod-spec repo.
I've got a before-script that runs this command:
- gem install cocoapods
- pod repo add MyPrivate-Repo git@github.com:myAccount/MyPrivate-Repo.git
...
However, I am getting this error when travis tries to add my private pod spec repo
Cloning spec repo `MyPrivate-Repo` from `git@github.com:myAccount/MyPrivate-Repo.git`
[!] Pod::Executable clone 'git@github.com:myAccount/MyPrivate-Repo.git' MyPrivate-Repo
Cloning into 'MyPrivate-Repo'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Now i am very new to this so apologies if I am missing something obvious here.
I am sure that the repository does indeed exist, I tested that by performing a
git clone git@github.com:myAccount/MyPrivate-Repo.git
on my local machine. So that means access rights I assume. How do I go about checking the access rights for that? Travis seems to work fine cloning other repos within the same organization? Any help much appreciated!!