美文网首页
CocoaPods 疑难问题

CocoaPods 疑难问题

作者: lydia_6508 | 来源:发表于2019-10-23 18:19 被阅读0次

errorno 54

生成SSH密钥文件:

ssh-keygen -t rsa -f ~/.ssh/id_rsa_github -C "yanghongliyhl@126.com"

把自定义的密钥文件加入ssh中:

ssh-add ~/.ssh/id_rsa_github

查看密钥情况:

ssh -Tgit@github.com

结果:

Hi lydia130! You've successfully authenticated, but GitHub does not provide shell access.

下载github的库:

git clone git@github.com:CocoaPods/Specs.git ~/.cocoapods/repos/master

最后切记要:

pod repo update

相关文章

网友评论

      本文标题:CocoaPods 疑难问题

      本文链接:https://www.haomeiwen.com/subject/qvikvctx.html