cocoapods 安装过程

cocoapods安装过3次都蜜汁失败

在第七次终于成功

下列附上过程

有耐心的朋友可以试试的我的步骤和方法

ps:我的系统比较新 10.12.5

xcode用的是8.3.3


只要的命令

gem sources -l

sudo gem update --system (这里之后要输入密码)

source ~/.bashrc

source ~/.bash_profile

rvm -v

rudy -v

rvm list known(查看可以安装的list)

ps:在这里Press RETURN to continue or any other key to abort

==>/usr/bin/sudo /bin/chmod u+rwx /usr/local/bin

Password:

要按下回车和密码,主要别像我一样傻傻的在那里等着


rvm install 2.4

gem --version (查看版本)

openssl version

which openssl(查看路径)

brew install openssl

brew update

ln -s /usr/local/Cellar/openssl/1.0.2e/bin/openssl /usr/local/bin/openssl

openssl

sudo gem install cocoapods(这里会进行一系列的安装和更新)

pod setup(这一步很关键,在校园网天翼的用户记得翻墙安装,否则基本都会失败,而且网速基本很慢,这貌似跟天翼的上网机制有关)

装好的了之后就尽情使用吧



下面是过程:



panyixuande-MacBook-Pro:~ panyixuan$ gem sources -l

*** CURRENT SOURCES ***

https://rubygems.org/

这里发现,之前的taobao源,在现在10.12.5这个版本之后,好像都是被墙了

而且我是在学校的网,屈服在天翼校园的淫威之下,网速说是说8m

但是实际上···,你懂的


好了首先更新一波gem,然后

panyixuande-MacBook-Pro:~ panyixuan$ sudo gem update --system

Password:

Updating rubygems-update

·········中间省去很多东西

RubyGems system software updated

看到以上这句话···就成功了


panyixuande-MacBook-Pro:~ panyixuan$             curl -Lget.rvm.io| bash -s stable

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

Dload  Upload   Total   Spent    Left  Speed

100   194  100   194    0     0     45      0  0:00:04  0:00:04 --:--:--    45

100 24063  100 24063    0     0   4433      0  0:00:05  0:00:05 --:--:-- 25571

Downloadinghttps://github.com/rvm/rvm/archive/1.29.1.tar.gz

Downloadinghttps://github.com/rvm/rvm/releases/download/1.29.1/1.29.1.tar.gz.asc

Found PGP signature at: 'https://github.com/rvm/rvm/releases/download/1.29.1/1.29.1.tar.gz.asc',

but no GPG software exists to validate it, skipping.

Installing RVM to /Users/panyixuan/.rvm/

Adding rvm PATH line to /Users/panyixuan/.profile /Users/panyixuan/.mkshrc /Users/panyixuan/.bashrc /Users/panyixuan/.zshrc.

Adding rvm loading line to /Users/panyixuan/.profile /Users/panyixuan/.bash_profile /Users/panyixuan/.zlogin.

Installation of RVM in /Users/panyixuan/.rvm/ is almost complete:

* To start using RVM you need to run `source /Users/panyixuan/.rvm/scripts/rvm`

in all your open shell windows, in rare cases you need to reopen all shell windows.

# panyixuan,

#

#   Thank you for using RVM!

#   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!

#

# ~Wayne, Michal & team.

In case of problems:https://rvm.io/helpandhttps://twitter.com/rvm_io

panyixuande-MacBook-Pro:~ panyixuan$ source ~/.bashrc

panyixuande-MacBook-Pro:~ panyixuan$ source ~/.bash_profile

panyixuande-MacBook-Pro:~ panyixuan$ rvm -v

rvm 1.29.1 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/]

panyixuande-MacBook-Pro:~ panyixuan$ rudy -v

-bash: rudy: command not found

panyixuande-MacBook-Pro:~ panyixuan$ rvm list known

# MRI Rubies

[ruby-]1.8.6[-p420]

[ruby-]1.8.7[-head] # security released on head

[ruby-]1.9.1[-p431]

[ruby-]1.9.2[-p330]

[ruby-]1.9.3[-p551]

[ruby-]2.0.0[-p648]

[ruby-]2.1[.10]

[ruby-]2.2[.6]

[ruby-]2.3[.3]

[ruby-]2.4[.0]

ruby-head

# for forks use: rvm install ruby-head- --urlhttps://github.com/github/ruby.git--branch 2.2

# JRuby

jruby-1.6[.8]

jruby-1.7[.26]

jruby[-9.1.7.0]

jruby-head

# Rubinius

rbx-1[.4.3]

rbx-2.3[.0]

rbx-2.4[.1]

rbx-2[.5.8]

rbx[-3.71]

rbx-head

# Opal

opal

# Minimalistic ruby implementation - ISO 30170:2012

mruby-1.0.0

mruby-1.1.0

mruby-1[.2.0]

mruby[-head]

# Ruby Enterprise Edition

ree-1.8.6

ree[-1.8.7][-2012.02]

# Topaz

topaz

# MagLev

maglev[-head]

maglev-1.0.0

# Mac OS X Snow Leopard Or Newer

macruby-0.10

macruby-0.11

macruby[-0.12]

macruby-nightly

macruby-head

# IronRuby

ironruby[-1.1.3]

ironruby-head

panyixuande-MacBook-Pro:~ panyixuan$ rvm install 2.4

Searching for binary rubies, this might take some time.

No binary rubies available for: osx/10.12/x86_64/ruby-2.4.0.

Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

Checking requirements for osx.

About to install Homebrew, press `Enter` for default installation in `/usr/local`,

type new path if you wish custom Homebrew installation (the path needs to be writable for user)

:

==>This script will install:

/usr/local/bin/brew

/usr/local/share/doc/homebrew

/usr/local/share/man/man1/brew.1

/usr/local/share/zsh/site-functions/_brew

/usr/local/etc/bash_completion.d/brew

/usr/local/Homebrew

==>The following existing directories will be made group writable:

/usr/local/bin

==>The following existing directories will have their owner set topanyixuan:

/usr/local/bin

==>The following existing directories will have their group set toadmin:

/usr/local/bin

==>The following new directories will be created:

/usr/local/Cellar

/usr/local/Homebrew

/usr/local/Frameworks

/usr/local/etc

/usr/local/include

/usr/local/lib

/usr/local/opt

/usr/local/sbin

/usr/local/share

/usr/local/share/zsh

/usr/local/share/zsh/site-functions

/usr/local/var

Press RETURN to continue or any other key to abort

==>/usr/bin/sudo /bin/chmod u+rwx /usr/local/bin

Password:

==>/usr/bin/sudo /bin/chmod g+rwx /usr/local/bin

==>/usr/bin/sudo /usr/sbin/chown panyixuan /usr/local/bin

==>/usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin

==>/usr/bin/sudo /bin/mkdir -p /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var

==>/usr/bin/sudo /bin/chmod g+rwx /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var

==>/usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions

==>/usr/bin/sudo /usr/sbin/chown panyixuan /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var

==>/usr/bin/sudo /usr/bin/chgrp admin /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var

==>/usr/bin/sudo /bin/mkdir -p /Users/panyixuan/Library/Caches/Homebrew

==>/usr/bin/sudo /bin/chmod g+rwx /Users/panyixuan/Library/Caches/Homebrew

==>/usr/bin/sudo /usr/sbin/chown panyixuan /Users/panyixuan/Library/Caches/Homebrew

==>/usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew

==>/usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew

==>/usr/bin/sudo /usr/sbin/chown panyixuan /Library/Caches/Homebrew

==>Downloading and installing Homebrew...

remote: Counting objects: 6451, done.

remote: Compressing objects: 100% (3906/3906), done.

remote: Total 6451 (delta 3730), reused 4275 (delta 2341), pack-reused 0

Receiving objects: 100% (6451/6451), 3.58 MiB | 165.00 KiB/s, done.

Resolving deltas: 100% (3730/3730), done.

Fromhttps://github.com/Homebrew/brew

* [new branch]      master     -> origin/master

* [new tag]         0.1        -> 0.1

* [new tag]         0.2        -> 0.2

* [new tag]         0.3        -> 0.3

* [new tag]         0.4        -> 0.4

* [new tag]         0.5        -> 0.5

* [new tag]         0.6        -> 0.6

* [new tag]         0.7        -> 0.7

* [new tag]         0.7.1      -> 0.7.1

* [new tag]         0.8        -> 0.8

* [new tag]         0.8.1      -> 0.8.1

* [new tag]         0.9        -> 0.9

* [new tag]         0.9.1      -> 0.9.1

* [new tag]         0.9.2      -> 0.9.2

* [new tag]         0.9.3      -> 0.9.3

* [new tag]         0.9.4      -> 0.9.4

* [new tag]         0.9.5      -> 0.9.5

* [new tag]         0.9.8      -> 0.9.8

* [new tag]         0.9.9      -> 0.9.9

* [new tag]         1.0.0      -> 1.0.0

* [new tag]         1.0.1      -> 1.0.1

* [new tag]         1.0.2      -> 1.0.2

* [new tag]         1.0.3      -> 1.0.3

* [new tag]         1.0.4      -> 1.0.4

* [new tag]         1.0.5      -> 1.0.5

* [new tag]         1.0.6      -> 1.0.6

* [new tag]         1.0.7      -> 1.0.7

* [new tag]         1.0.8      -> 1.0.8

* [new tag]         1.0.9      -> 1.0.9

* [new tag]         1.1.0      -> 1.1.0

* [new tag]         1.1.1      -> 1.1.1

* [new tag]         1.1.10     -> 1.1.10

* [new tag]         1.1.11     -> 1.1.11

* [new tag]         1.1.12     -> 1.1.12

* [new tag]         1.1.13     -> 1.1.13

* [new tag]         1.1.2      -> 1.1.2

* [new tag]         1.1.3      -> 1.1.3

* [new tag]         1.1.4      -> 1.1.4

* [new tag]         1.1.5      -> 1.1.5

* [new tag]         1.1.6      -> 1.1.6

* [new tag]         1.1.7      -> 1.1.7

* [new tag]         1.1.8      -> 1.1.8

* [new tag]         1.1.9      -> 1.1.9

* [new tag]         1.2.0      -> 1.2.0

* [new tag]         1.2.1      -> 1.2.1

* [new tag]         1.2.2      -> 1.2.2

* [new tag]         1.2.3      -> 1.2.3

HEAD is now at cd7e3cd Merge pull request #2778 from jasonkarns/tap-full-name

==>Tapping homebrew/core

Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...

remote: Counting objects: 4444, done.

remote: Compressing objects: 100% (4245/4245), done.

remote: Total 4444 (delta 35), reused 463 (delta 13), pack-reused 0

Receiving objects: 100% (4444/4444), 3.53 MiB | 251.00 KiB/s, done.

Resolving deltas: 100% (35/35), done.

Tapped 4243 formulae (4,487 files, 11MB)

==>Cleaning up /Library/Caches/Homebrew...

==>Migrating /Library/Caches/Homebrew to /Users/panyixuan/Library/Caches/Homebr

==>Deleting /Library/Caches/Homebrew...

Already up-to-date.

==>Installation successful!

==>Homebrew has enabled anonymous aggregate user behaviour analytics.

Read the analytics documentation (and how to opt-out) here:

http://docs.brew.sh/Analytics.html

==>Next steps:

- Run `brew help` to get started

- Further documentation:

http://docs.brew.sh

Installing requirements for osx.

Updating system.........

Installing required packages: autoconf, automake, libtool, pkg-config, coreutils, libyaml, readline, libksba, openssl@1.1.........

Certificates in '/usr/local/etc/openssl@1.1/cert.pem' are already up to date.

Requirements installation successful.

Installing Ruby from source to: /Users/panyixuan/.rvm/rubies/ruby-2.4.0, this may take a while depending on your cpu(s)...

ruby-2.4.0 - #downloading ruby-2.4.0, this may take a while depending on your connection...

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

Dload  Upload   Total   Spent    Left  Speed

100 11.9M  100 11.9M    0     0   141k      0  0:01:26  0:01:26 --:--:--  157k

ruby-2.4.0 - #extracting ruby-2.4.0 to /Users/panyixuan/.rvm/src/ruby-2.4.0....

ruby-2.4.0 - #configuring...................................................\

...............

ruby-2.4.0 - #post-configuration.

ruby-2.4.0 - #compiling........................................................|

ruby-2.4.0 - #installing.......

ruby-2.4.0 - #making binaries executable..

ruby-2.4.0 - #downloading rubygems-2.6.12

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

Dload  Upload   Total   Spent    Left  Speed

100  749k  100  749k    0     0   247k      0  0:00:03  0:00:03 --:--:--  247k

No checksum for downloaded archive, recording checksum in user configuration.

ruby-2.4.0 - #extracting rubygems-2.6.12....

ruby-2.4.0 - #removing old rubygems.........

$LANG was empty, setting up LANG=en_US, if it fails again try setting LANG to something sane and try again.

ruby-2.4.0 - #installing rubygems-2.6.12.........................

ruby-2.4.0 - #gemset created /Users/panyixuan/.rvm/gems/ruby-2.4.0@global

ruby-2.4.0 - #importing gemset /Users/panyixuan/.rvm/gemsets/global.gems.......|

ruby-2.4.0 - #generating global wrappers........

ruby-2.4.0 - #gemset created /Users/panyixuan/.rvm/gems/ruby-2.4.0

ruby-2.4.0 - #importing gemsetfile /Users/panyixuan/.rvm/gemsets/default.gems evaluated to empty gem list

ruby-2.4.0 - #generating default wrappers........

ruby-2.4.0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).

Install of ruby-2.4.0 - #complete

Ruby was built without documentation, to build it run: rvm docs generate-ri

panyixuande-MacBook-Pro:~ panyixuan$

panyixuande-MacBook-Pro:~ panyixuan$ gem --version

2.6.12

panyixuande-MacBook-Pro:~ panyixuan$ openssl version

OpenSSL 0.9.8zh 14 Jan 2016


panyixuande-MacBook-Pro:~ panyixuan$ which openssl

/usr/bin/openssl

panyixuande-MacBook-Pro:~ panyixuan$ /usr/local/bin/openssl

-bash: /usr/local/bin/openssl: No such file or directory

panyixuande-MacBook-Pro:~ panyixuan$ brew update

Already up-to-date.

panyixuande-MacBook-Pro:~ panyixuan$ Updated Homebrew from e3986e9 to 21ce7a5.

-bash: Updated: command not found

panyixuande-MacBook-Pro:~ panyixuan$ brew update

Already up-to-date.

panyixuande-MacBook-Pro:~ panyixuan$ openssl version

OpenSSL 0.9.8zh 14 Jan 2016

panyixuande-MacBook-Pro:~ panyixuan$ brew install openssl

==>Downloadinghttps://homebrew.bintray.com/bottles/openssl-1.0.2l.sierra.bottl

######################################################################## 100.0%

==>Pouring openssl-1.0.2l.sierra.bottle.tar.gz

==>Using the sandbox

==>Caveats

A CA file has been bootstrapped using certificates from the SystemRoots

keychain. To add additional certificates (e.g. the certificates added in

the System keychain), place .pem files in

/usr/local/etc/openssl/certs

and run

/usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local,

because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have this software first in your PATH run:

echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:

LDFLAGS:  -L/usr/local/opt/openssl/lib

CPPFLAGS: -I/usr/local/opt/openssl/include

For pkg-config to find this software you may need to set:

PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig

==>Summary

🍺  /usr/local/Cellar/openssl/1.0.2l: 1,709 files, 12.2MB

panyixuande-MacBook-Pro:~ panyixuan$ ln -s /usr/local/Cellar/openssl/1.0.2e/bin/openssl /usr/local/bin/openssl

panyixuande-MacBook-Pro:~ panyixuan$ openssl

OpenSSL> OpenSSL 1.0.2e 3 Dec 2015

openssl:Error: 'OpenSSL' is an invalid command.

Standard commands

asn1parse      ca             ciphers        crl            crl2pkcs7

dgst           dh             dhparam        dsa            dsaparam

ec             ecparam        enc            engine         errstr

gendh          gendsa         genrsa         nseq           ocsp

passwd         pkcs12         pkcs7          pkcs8          prime

rand           req            rsa            rsautl         s_client

s_server       s_time         sess_id        smime          speed

spkac          verify         version        x509

Message Digest commands (see the `dgst' command for more details)

md2            md4            md5            mdc2           rmd160

sha            sha1

Cipher commands (see the `enc' command for more details)

aes-128-cbc    aes-128-ecb    aes-192-cbc    aes-192-ecb    aes-256-cbc

aes-256-ecb    base64         bf             bf-cbc         bf-cfb

bf-ecb         bf-ofb         cast           cast-cbc       cast5-cbc

cast5-cfb      cast5-ecb      cast5-ofb      des            des-cbc

des-cfb        des-ecb        des-ede        des-ede-cbc    des-ede-cfb

des-ede-ofb    des-ede3       des-ede3-cbc   des-ede3-cfb   des-ede3-ofb

des-ofb        des3           desx           rc2            rc2-40-cbc

rc2-64-cbc     rc2-cbc        rc2-cfb        rc2-ecb        rc2-ofb

rc4            rc4-40         seed           seed-cbc       seed-cfb

seed-ecb       seed-ofb

OpenSSL>

OpenSSL> ^[

openssl:Error: ' is an invalid command.

Standard commands

asn1parse      ca             ciphers        crl            crl2pkcs7

dgst           dh             dhparam        dsa            dsaparam

ec             ecparam        enc            engine         errstr

gendh          gendsa         genrsa         nseq           ocsp

passwd         pkcs12         pkcs7          pkcs8          prime

rand           req            rsa            rsautl         s_client

s_server       s_time         sess_id        smime          speed

spkac          verify         version        x509

Message Digest commands (see the `dgst' command for more details)

md2            md4            md5            mdc2           rmd160

sha            sha1

Cipher commands (see the `enc' command for more details)

aes-128-cbc    aes-128-ecb    aes-192-cbc    aes-192-ecb    aes-256-cbc

aes-256-ecb    base64         bf             bf-cbc         bf-cfb

bf-ecb         bf-ofb         cast           cast-cbc       cast5-cbc

cast5-cfb      cast5-ecb      cast5-ofb      des            des-cbc

des-cfb        des-ecb        des-ede        des-ede-cbc    des-ede-cfb

des-ede-ofb    des-ede3       des-ede3-cbc   des-ede3-cfb   des-ede3-ofb

des-ofb        des3           desx           rc2            rc2-40-cbc

rc2-64-cbc     rc2-cbc        rc2-cfb        rc2-ecb        rc2-ofb

rc4            rc4-40         seed           seed-cbc       seed-cfb

seed-ecb       seed-ofb

OpenSSL> ^C

panyixuande-MacBook-Pro:~ panyixuan$ sudo gem install cocoapods

Password:

Fetching: i18n-0.8.4.gem (100%)

Successfully installed i18n-0.8.4

Fetching: thread_safe-0.3.6.gem (100%)

Successfully installed thread_safe-0.3.6

Fetching: tzinfo-1.2.3.gem (100%)

Successfully installed tzinfo-1.2.3

Fetching: activesupport-4.2.8.gem (100%)

Successfully installed activesupport-4.2.8

Fetching: nap-1.1.0.gem (100%)

Successfully installed nap-1.1.0

Fetching: fuzzy_match-2.0.4.gem (100%)

Successfully installed fuzzy_match-2.0.4

Fetching: cocoapods-core-1.2.1.gem (100%)

Successfully installed cocoapods-core-1.2.1

Fetching: claide-1.0.2.gem (100%)

Successfully installed claide-1.0.2

Fetching: cocoapods-deintegrate-1.0.1.gem (100%)

Successfully installed cocoapods-deintegrate-1.0.1

Fetching: cocoapods-downloader-1.1.3.gem (100%)

Successfully installed cocoapods-downloader-1.1.3

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: netrc-0.7.8.gem (100%)

Successfully installed netrc-0.7.8

Fetching: cocoapods-trunk-1.2.0.gem (100%)

Successfully installed cocoapods-trunk-1.2.0

Fetching: cocoapods-try-1.1.0.gem (100%)

Successfully installed cocoapods-try-1.1.0

Fetching: molinillo-0.5.7.gem (100%)

Successfully installed molinillo-0.5.7

Fetching: CFPropertyList-2.3.5.gem (100%)

Successfully installed CFPropertyList-2.3.5

Fetching: colored2-3.1.2.gem (100%)

Successfully installed colored2-3.1.2

Fetching: nanaimo-0.2.3.gem (100%)

Successfully installed nanaimo-0.2.3

Fetching: xcodeproj-1.5.0.gem (100%)

Successfully installed xcodeproj-1.5.0

Fetching: escape-0.0.4.gem (100%)

Successfully installed escape-0.0.4

Fetching: fourflusher-2.0.1.gem (100%)

Successfully installed fourflusher-2.0.1

Fetching: gh_inspector-1.0.3.gem (100%)

Successfully installed gh_inspector-1.0.3

Fetching: ruby-macho-1.1.0.gem (100%)

Successfully installed ruby-macho-1.1.0

Fetching: cocoapods-1.2.1.gem (100%)

Successfully installed cocoapods-1.2.1

Parsing documentation for i18n-0.8.4

Installing ri documentation for i18n-0.8.4

Parsing documentation for thread_safe-0.3.6

Installing ri documentation for thread_safe-0.3.6

Parsing documentation for tzinfo-1.2.3

Installing ri documentation for tzinfo-1.2.3

Parsing documentation for activesupport-4.2.8

Installing ri documentation for activesupport-4.2.8

Parsing documentation for nap-1.1.0

Installing ri documentation for nap-1.1.0

Parsing documentation for fuzzy_match-2.0.4

Installing ri documentation for fuzzy_match-2.0.4

Parsing documentation for cocoapods-core-1.2.1

Installing ri documentation for cocoapods-core-1.2.1

Parsing documentation for claide-1.0.2

Installing ri documentation for claide-1.0.2

Parsing documentation for cocoapods-deintegrate-1.0.1

Installing ri documentation for cocoapods-deintegrate-1.0.1

Parsing documentation for cocoapods-downloader-1.1.3

Installing ri documentation for cocoapods-downloader-1.1.3

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 netrc-0.7.8

Installing ri documentation for netrc-0.7.8

Parsing documentation for cocoapods-trunk-1.2.0

Installing ri documentation for cocoapods-trunk-1.2.0

Parsing documentation for cocoapods-try-1.1.0

Installing ri documentation for cocoapods-try-1.1.0

Parsing documentation for molinillo-0.5.7

Installing ri documentation for molinillo-0.5.7

Parsing documentation for CFPropertyList-2.3.5

Installing ri documentation for CFPropertyList-2.3.5

Parsing documentation for colored2-3.1.2

Installing ri documentation for colored2-3.1.2

Parsing documentation for nanaimo-0.2.3

Installing ri documentation for nanaimo-0.2.3

Parsing documentation for xcodeproj-1.5.0

Installing ri documentation for xcodeproj-1.5.0

Parsing documentation for escape-0.0.4

Installing ri documentation for escape-0.0.4

Parsing documentation for fourflusher-2.0.1

Installing ri documentation for fourflusher-2.0.1

Parsing documentation for gh_inspector-1.0.3

Installing ri documentation for gh_inspector-1.0.3

Parsing documentation for ruby-macho-1.1.0

Installing ri documentation for ruby-macho-1.1.0

Parsing documentation for cocoapods-1.2.1

Installing ri documentation for cocoapods-1.2.1

Done installing documentation for i18n, thread_safe, tzinfo, activesupport, nap, fuzzy_match, cocoapods-core, claide, cocoapods-deintegrate, cocoapods-downloader, cocoapods-plugins, cocoapods-search, cocoapods-stats, netrc, cocoapods-trunk, cocoapods-try, molinillo, CFPropertyList, colored2, nanaimo, xcodeproj, escape, fourflusher, gh_inspector, ruby-macho, cocoapods after 14 seconds

26 gems installed

panyixuande-MacBook-Pro:~ panyixuan$ pod setup

Setting up CocoaPods master repo

$ /usr/bin/git clonehttps://github.com/CocoaPods/Specs.gitmaster --progress

Cloning into 'master'...

remote: Counting objects: 1345752, done.

remote: Compressing objects: 100% (318/318), done.

Receiving objects:  78% (1053354/1345752), 182.53 MiB | 255.00 KiB/s

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

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

[!] /usr/bin/git clonehttps://github.com/CocoaPods/Specs.gitmaster --progress

Cloning into 'master'...

remote: Counting objects: 1345752, done.

remote: Compressing objects: 100% (318/318), done.

error: RPC failed; curl 56 SSLRead() return error -36 | 255.00 KiB/s

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

panyixuande-MacBook-Pro:~ panyixuan$

panyixuande-MacBook-Pro:~ panyixuan$ pod setup

Setting up CocoaPods master repo

$ /usr/bin/git clonehttps://github.com/CocoaPods/Specs.gitmaster --progress

Cloning into 'master'...

remote: Counting objects: 1345815, done.

remote: Compressing objects: 100% (360/360), done.

remote: Total 1345815 (delta 178), reused 241 (delta 116), pack-reused 1345326

Receiving objects: 100% (1345815/1345815), 405.48 MiB | 238.00 KiB/s, done.

Resolving deltas: 100% (676410/676410), done.

Checking out files: 100% (163129/163129), done.

CocoaPods 1.3.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, seehttps://blog.cocoapods.organd the CHANGELOG for this version athttps://github.com/CocoaPods/CocoaPods/releases/tag/1.3.0.beta.1

Setup completed

推荐阅读更多精彩内容