Cocoapods: Install version 1.0.0 failure

Created on 15 May 2016  ·  5Comments  ·  Source: CocoaPods/CocoaPods

YJCMBP:LCBlur yuanjincang$ gem list

*** LOCAL GEMS ***

activesupport (4.2.5)
bigdecimal (1.2.0)
CFPropertyList (2.2.8)
claide (1.0.0, 0.9.1)
colored (1.2)
escape (0.0.4)
fourflusher (0.3.0)
fuzzy_match (2.0.4)
i18n (0.7.0)
io-console (0.4.2)
json (1.7.7)
libxml-ruby (2.6.0)
minitest (5.8.3, 4.3.2)
molinillo (0.4.5, 0.4.1)
nap (1.0.0)
netrc (0.7.8)
nokogiri (1.5.6)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
rubygems-update (2.5.1)
sqlite3 (1.3.7)
test-unit (2.0.0.0)
thread_safe (0.3.5)
tzinfo (1.2.2)
xcodeproj (1.0.0, 0.28.2)
YJCMBP:~ yuanjincang$ sudo gem install cocoapods
Fetching: cocoapods-core-1.0.0.gem (100%)
Successfully installed cocoapods-core-1.0.0
Fetching: cocoapods-deintegrate-1.0.0.gem (100%)
Successfully installed cocoapods-deintegrate-1.0.0
Fetching: cocoapods-downloader-1.0.0.gem (100%)
Successfully installed cocoapods-downloader-1.0.0
Fetching: cocoapods-plugins-1.0.0.gem (100%)
Successfully installed cocoapods-plugins-1.0.0
Fetching: cocoapods-search-1.0.0.gem (100%)
Successfully installed cocoapods-search-1.0.0
Fetching: cocoapods-stats-1.0.0.gem (100%)
Successfully installed cocoapods-stats-1.0.0
Fetching: cocoapods-trunk-1.0.0.gem (100%)
Successfully installed cocoapods-trunk-1.0.0
Fetching: cocoapods-try-1.0.0.gem (100%)
Successfully installed cocoapods-try-1.0.0
Fetching: cocoapods-1.0.0.gem (100%)
Successfully installed cocoapods-1.0.0
Parsing documentation for cocoapods-core-1.0.0
Installing ri documentation for cocoapods-core-1.0.0
Parsing documentation for cocoapods-deintegrate-1.0.0
Installing ri documentation for cocoapods-deintegrate-1.0.0
Parsing documentation for cocoapods-downloader-1.0.0
Installing ri documentation for cocoapods-downloader-1.0.0
Parsing documentation for cocoapods-plugins-1.0.0
Installing ri documentation for cocoapods-plugins-1.0.0
Parsing documentation for cocoapods-search-1.0.0
Installing ri documentation for cocoapods-search-1.0.0
Parsing documentation for cocoapods-stats-1.0.0
Installing ri documentation for cocoapods-stats-1.0.0
Parsing documentation for cocoapods-trunk-1.0.0
Installing ri documentation for cocoapods-trunk-1.0.0
Parsing documentation for cocoapods-try-1.0.0
Installing ri documentation for cocoapods-try-1.0.0
Parsing documentation for cocoapods-1.0.0
Installing ri documentation for cocoapods-1.0.0
9 gems installed
YJCMBP:LCBlur yuanjincang$ pod --version
1.0.0
YJCMBP:LCBlur yuanjincang$ pod setup
Setting up CocoaPods master repo
Performing a deep fetch of the `master` specs repo to improve future performance

And then stop here.

Most helpful comment

Maybe I found the solution, just run this line:

sudo rm -fr ~/.cocoapods/repos/master

And the run pod setup again.

All 5 comments

5278

And then

[!] /usr/bin/git fetch --unshallow

error: RPC failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

YJCMBP:~ yuanjincang$ 

Maybe I found the solution, just run this line:

sudo rm -fr ~/.cocoapods/repos/master

And the run pod setup again.

Thanks, I had the same problem @iTofu 👍 💯

这招果然好用,非常感谢。我的问题也解决了。💯

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Curtis-Halbrook picture Curtis-Halbrook  ·  3Comments

marzapower picture marzapower  ·  3Comments

lzwjava picture lzwjava  ·  3Comments

Mingmingmew picture Mingmingmew  ·  3Comments

pallaviMN picture pallaviMN  ·  3Comments