cocoapods 安裝過程

cocoapods安裝過3次都蜜汁失敗

在第七次終于成功

下列附上過程

有耐心的朋友可以試試的我的步驟和方法

ps:我的系統(tǒng)比較新 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(這里會進(jìn)行一系列的安裝和更新)

pod setup(這一步很關(guān)鍵吱肌,在校園網(wǎng)天翼的用戶記得翻墻安裝杨名,否則基本都會失敗,而且網(wǎng)速基本很慢乃秀,這貌似跟天翼的上網(wǎng)機(jī)制有關(guān))

裝好的了之后就盡情使用吧



下面是過程:



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

*** CURRENT SOURCES ***

https://rubygems.org/

這里發(fā)現(xiàn),之前的taobao源逛腿,在現(xiàn)在10.12.5這個(gè)版本之后钮蛛,好像都是被墻了

而且我是在學(xué)校的網(wǎng),屈服在天翼校園的淫威之下受神,網(wǎng)速說是說8m

但是實(shí)際上···抛猖,你懂的


好了首先更新一波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

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末鼻听,一起剝皮案震驚了整個(gè)濱河市财著,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌撑碴,老刑警劉巖撑教,帶你破解...
    沈念sama閱讀 218,682評論 6 507
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異醉拓,居然都是意外死亡伟姐,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,277評論 3 395
  • 文/潘曉璐 我一進(jìn)店門亿卤,熙熙樓的掌柜王于貴愁眉苦臉地迎上來诅病,“玉大人飞蹂,你說我怎么就攤上這事拉队“忝睿” “怎么了?”我有些...
    開封第一講書人閱讀 165,083評論 0 355
  • 文/不壞的土叔 我叫張陵,是天一觀的道長屹堰。 經(jīng)常有香客問我肛冶,道長,這世上最難降的妖魔是什么双藕? 我笑而不...
    開封第一講書人閱讀 58,763評論 1 295
  • 正文 為了忘掉前任淑趾,我火速辦了婚禮,結(jié)果婚禮上忧陪,老公的妹妹穿的比我還像新娘。我一直安慰自己近范,他們只是感情好嘶摊,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,785評論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著评矩,像睡著了一般叶堆。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上斥杜,一...
    開封第一講書人閱讀 51,624評論 1 305
  • 那天虱颗,我揣著相機(jī)與錄音,去河邊找鬼蔗喂。 笑死忘渔,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的缰儿。 我是一名探鬼主播畦粮,決...
    沈念sama閱讀 40,358評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼乖阵!你這毒婦竟也來了宣赔?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,261評論 0 276
  • 序言:老撾萬榮一對情侶失蹤瞪浸,失蹤者是張志新(化名)和其女友劉穎儒将,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體对蒲,經(jīng)...
    沈念sama閱讀 45,722評論 1 315
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡钩蚊,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,900評論 3 336
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了齐蔽。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片两疚。...
    茶點(diǎn)故事閱讀 40,030評論 1 350
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖含滴,靈堂內(nèi)的尸體忽然破棺而出诱渤,到底是詐尸還是另有隱情,我是刑警寧澤谈况,帶...
    沈念sama閱讀 35,737評論 5 346
  • 正文 年R本政府宣布勺美,位于F島的核電站递胧,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏赡茸。R本人自食惡果不足惜缎脾,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,360評論 3 330
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望占卧。 院中可真熱鬧遗菠,春花似錦、人聲如沸华蜒。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,941評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽叭喜。三九已至贺拣,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間捂蕴,已是汗流浹背譬涡。 一陣腳步聲響...
    開封第一講書人閱讀 33,057評論 1 270
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留啥辨,地道東北人涡匀。 一個(gè)月前我還...
    沈念sama閱讀 48,237評論 3 371
  • 正文 我出身青樓,卻偏偏與公主長得像委可,于是被迫代替她去往敵國和親渊跋。 傳聞我的和親對象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,976評論 2 355

推薦閱讀更多精彩內(nèi)容