エラー内容
$ pod setup
Setting up CocoaPods master repo
[!] /usr/local/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
対応方法
- 移動する
$ cd ~/.cocoapods/repos
- githubからcloneする
$ git clone https://github.com/CocoaPods/Specs.git master
- setup成功するようになる
$ pod setup
CocoaPods 1.2.0.beta.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.2.0.beta.1
Setup completed
感想
何回かcocoapodsのセットアップしたけどこのエラーは初めて。
通信環境悪かったのかな。。
参考になれば幸いです。それではノシ