【发布时间】:2014-07-31 07:08:55
【问题描述】:
我浏览了本教程http://guides.cocoapods.org/making/private-cocoapods.html,但没有得到任何关于如何创建它的提示。 它只显示了结构。
另一方面,如果我尝试运行 pod install,就会出现这种情况。 在这里,我正在尝试将 sample-pod (Private pod) 安装到我的本地项目之一。
siddarths-MacBook-P:PodInstallDemoApp siddarthchaturvedi$ pod install
Analyzing dependencies
Pre-downloading: `sample-pod` from `git@github.com:MY_COMAPNY_NAME/sample-pod.git`
Enter passphrase for key '/Users/siddarthchaturvedi/.ssh/id_rsa':
Enter passphrase for key '/Users/siddarthchaturvedi/.ssh/id_rsa':
[!] /usr/bin/git clone git@github.com:MY_COMPANY_NAME/sample-pod.git /Users/siddarthchaturvedi/Library/Caches/CocoaPods/GitHub/8ce0f86807ab15b9f8d51bb9d2026cc102ba51aa --mirror
Cloning into bare repository '/Users/siddarthchaturvedi/Library/Caches/CocoaPods/GitHub/8ce0f86807ab15b9f8d51bb9d2026cc102ba51aa'...
Saving password to keychain failed
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
更多详情:- OS - Mac OSX 10.9 使用最新版本的 cocoapods。 git 版本 1.8.5.2 (Apple Git-48)
【问题讨论】:
-
如果您使用双因素身份验证,可能就是这样。本文有演练解决medium.com/@ginnyfahs/…
标签: ios cocoa-touch cocoapods