【发布时间】:2014-08-07 21:54:01
【问题描述】:
我第一次尝试在 Travis-CI 上设置 iOS 项目,但我无法让 travis 添加私有 pod-spec 存储库。
我有一个运行此命令的前脚本:
- gem install cocoapods
- pod repo add MyPrivate-Repo git@github.com:myAccount/MyPrivate-Repo.git
...
但是,当 travis 尝试添加我的私有 pod 规范 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.
现在我对此很陌生,如果我在这里遗漏了一些明显的东西,我深表歉意。
我确定存储库确实存在,我通过执行一个
git clone git@github.com:myAccount/MyPrivate-Repo.git
在我的本地机器上。所以这意味着我假设的访问权限。我该如何检查访问权限? Travis 似乎可以很好地克隆同一组织内的其他存储库?非常感谢任何帮助!
【问题讨论】:
标签: ios git cocoapods travis-ci