cocoa pods 安装问题

如果出现这样的提示:

pod setup

Setting up CocoaPods master repo

[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master

 

Cloning into 'master'...

error: RPC failed; curl 56 SSLRead() return error -9806

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

你应该照着下面的步骤就可以了

1、sudo gem uninstall cocoapods

2、sudo gem install xcodeproj

3、sudo gem install cocoapods

4、pod setup

5、sudo gem update --system

至此你的cocoapod应该就可以使用了!!!

 

posted @ 2016-07-26 14:14  ios_Yang_技术博客  阅读(489)  评论(0编辑  收藏  举报