从新安装mac - x系统的电脑安装CocoaPods的一些坑

第一次安装CocoaPods也遇到了一些坑,但是 那个时候时间比较紧,没有抽出时间整理,最近因为电脑还原从新做了系统,只能从新安装一次,这一次总结了一些坑以防以后再入坑

以下是操作步骤,最后会贴出终端相关操作流程

iOS 最新版 CocoaPods 的安装流程

1.移除现有Ruby默认源

$gem sources --remove https://rubygems.org/

2.使用新的源

$gem sources -a https://ruby.taobao.org/

3.验证新源是否替换成功

$gem sources -l

提示

 *** CURRENT SOURCES ***

https://ruby.taobao.org/

证明安装成功


4.安装CocoaPods 

(1)$sudo gem install -n /usr/local/bin cocoapods

在此出现安装错误的提示

ERROR:Error installing cocoapods:

activesupport requires Ruby version >=2.2.2.

意思是我的ruby的版本小于2.2.2不能进行安装cocoapods


到此只能升级ruby,升级ruby步骤如下

1、先安装 RVM

RVM:Ruby Version Manager,Ruby版本管理器,包括Ruby的版本管理和Gem库管理(gemset)

$ curl -L get.rvm.io | bash -s stable

安装成功后检测RVM

$ source ~/.bashrc

$source ~/.bash_profile

$ rvm -v

提示

rvm1.27.0(latest) by Wayne E. Seguin , Michal Papis [https://rvm.io/]

安装成功


2 升级ruby

先获取列表的版本信息 

$ rvm list known

3 找到 ruby的版本信息,进行安装

# Rubinius

rbx-1[.4.3]

rbx-2.3[.0]

rbx-2.4[.1]

rbx[-2.5.8]

rbx-head

根据提示得知目前存在的版本: 1.4.3---2.3.0---2.4.1---2.5.8

通过安装 (已经进行翻墙操作)发现2.4.1总是提示404后来 选择安装2.3.0版本至于为什么不选择2.5.8你懂得.

安装 2.3.0版本

$ rvm install 2.3.0

下面就是一堆的进度条,操作漫长,等等中......

等待完成后查看当前ruby版本

$ ruby -v

提示

ruby2.3.0p0 (2015-12-25revision53290) [x86_64-darwin15]

证明已经升级成功了

下面就可以正式安装CocoaPodsle 



4.2安装CocoaPods 

$ sudo gem install cocoapods

$sudo gem install -n /usr/local/bin cocoapods

$pod setup

5.  更新 gem

$sudo gem update --system

等待进度完成后查看 cocoapods的版本

$ pod --version

提示

1.0.1

到此cocoapods安装成功,

注意新版本修改了些东西,在使用的时候 需要修改 

platform :ios, '7.0'

(现在使用:MyApp 替换成自己的项目名)

target 'MyApp' do

pod 'AFNetworking', '~> 2.6'

pod 'ORStackView', '~> 3.0'

end

到此安装以及注意都以完成,顺便说说使用



6.新建一个项目

7.    $ cd  项目路径 (中间有空格,)

cd /Users/lucky/Desktop/Podss

8.  建立Podfile(配置文件)

$vim Podfile

键盘输入 i 进入编辑模式,输入

platform :ios, '7.0'

target 'Podss' do

pod 'AFNetworking', '~> 2.6'

pod 'ORStackView', '~> 3.0'

end

然后按Esc,并且输入“ :”号进入vim命令模式,然后在冒号后边输入wq

再输入$pod install

如果出现报错 则输入

$ pod install --verbose --no-repo-update

到此pod安装以及使用到此结束

附终端操作




Last login: Fri Aug1210:55:17on ttys000

appleMBP:$ gem sources --remove https://rubygems.org/

https://rubygems.org/ removed from sources

appleMBP:$ gem sources -a https://ruby.taobao.org/

https://ruby.taobao.org/ added to sources

appleMBP:$ gem sources -l

*** CURRENT SOURCES ***

https://ruby.taobao.org/

appleMBP:$ sudo gem install -n /usr/local/bin cocoapods

WARNING: Improper use of the sudo command could lead to data loss

or the deletion of important system files. Pleasedouble-check your

typing when using sudo. Type"man sudo"formore information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:

Fetching: i18n-0.7.0.gem (100%)

Successfully installed i18n-0.7.0

Fetching: thread_safe-0.3.5.gem (100%)

Successfully installed thread_safe-0.3.5

Fetching: tzinfo-1.2.2.gem (100%)

Successfully installed tzinfo-1.2.2

Fetching: minitest-5.9.0.gem (100%)

Successfully installed minitest-5.9.0

Fetching: concurrent-ruby-1.0.2.gem (100%)

Successfully installed concurrent-ruby-1.0.2

Fetching: activesupport-5.0.0.1.gem (100%)

ERROR:Error installing cocoapods:

activesupport requires Ruby version >=2.2.2.

appleMBP:$ curl -k https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer >./ins

% Total% Received % XferdAverage SpeedTimeTimeTimeCurrent

DloadUploadTotalSpentLeftSpeed

00000000--:--:--0:00:07--:--:--0

appleMBP:$ rvm list known

-bash: rvm: command not found

appleMBP:$ rvm install 2.2.2

-bash: rvm: command not found

appleMBP:$ curl https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer >./ins

% Total% Received % XferdAverage SpeedTimeTimeTimeCurrent

DloadUploadTotalSpentLeftSpeed

00000000--:--:--0:00:01--:--:--0

appleMBP:$ rvm -v

-bash: rvm: command not found

appleMBP:$ gem source -l

*** CURRENT SOURCES ***

https://ruby.taobao.org/

appleMBP:$ curl -L get.rvm.io | bash -s stable

% Total% Received % XferdAverage SpeedTimeTimeTimeCurrent

DloadUploadTotalSpentLeftSpeed

100184100184001890--:--:-- --:--:-- --:--:--189

100228651002286500608600:00:030:00:03--:--:--8977

Downloading https://github.com/rvm/rvm/archive/1.27.0.tar.gz

Downloading https://github.com/rvm/rvm/releases/download/1.27.0/1.27.0.tar.gz.asc

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

but no GPG software exists to validate it, skipping.

Upgrading the RVM installationin/Users/xingfudeweiba/.rvm/

RVM PATH line foundin/Users/xingfudeweiba/.mkshrc /Users/xingfudeweiba/.profile /Users/xingfudeweiba/.bashrc /Users/xingfudeweiba/.zshrc.

RVM sourcing line foundin/Users/xingfudeweiba/.profile /Users/xingfudeweiba/.bash_profile /Users/xingfudeweiba/.zlogin.

Upgrade of RVMin/Users/xingfudeweiba/.rvm/ is complete.

# apple,

#

#Thank you for using RVM!

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

#

# ~Wayne, Michal & team.

Incaseof problems: https://rvm.io/help andhttps://twitter.com/rvm_io

Upgrade Notes:

* No new notes to display.

appleMBP:$ rvm -v

rvm1.27.0(latest) by Wayne E. Seguin , Michal Papis [https://rvm.io/]

appleMBP:$ 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[.8]

[ruby-]2.2[.4]

[ruby-]2.3[.0]

[ruby-]2.2-head

ruby-head

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

# JRuby

jruby-1.6[.8]

jruby-1.7[.23]

jruby[-9.0.5.0]

jruby-head

# Rubinius

rbx-1[.4.3]

rbx-2.3[.0]

rbx-2.4[.1]

rbx[-2.5.8]

rbx-head

# Opal

opal

# Minimalistic ruby implementation - ISO30170:2012

mruby[-head]

# Ruby Enterprise Edition

ree-1.8.6

ree[-1.8.7][-2012.02]

# GoRuby

goruby

# 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

appleMBP:$ rvm install 2.4.1

Searchingforbinary rubies, this might take some time.

No binary rubies availablefor: osx/10.11/x86_64/ruby-2.4.1.

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

Checking requirementsforosx.

About to install Homebrew, press `Enter`fordefaultinstallationin`/usr/local`,

type new pathifyou wish custom Homebrew installation (the path needs to be writableforuser)

:0

% Total% Received % XferdAverage SpeedTimeTimeTimeCurrent

DloadUploadTotalSpentLeftSpeed

100124012400120--:--:--0:00:10--:--:--26

100139013900110--:--:--0:00:12--:--:--130

100194k100194k00919200:00:210:00:21--:--:--50900

Installing requirementsforosx.

Updating system......

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

Certificatesin'/Users/xingfudeweiba/0/etc/openssl/cert.pem'are already up to date.

Requirements installation successful.

Installing Ruby from source to: /Users/xingfudeweiba/.rvm/rubies/ruby-2.4.1, this may take awhiledepending on your cpu(s)...

ruby-2.4.1- #downloading ruby-2.4.1, this may take awhiledepending on your connection...

% Total% Received % XferdAverage SpeedTimeTimeTimeCurrent

DloadUploadTotalSpentLeftSpeed

00000000--:--:--0:00:07--:--:--0curl: (22) The requested URL returned error:404Not Found

The requested url does not exist(22):'https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2'

Checking fallback: https://ftp.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2

No fallback URL could be found, try increasing timeout with:

echo"export rvm_max_time_flag=20">> ~/.rvmrc

There has been an error fetching the ruby interpreter. Halting the installation.

appleMBP:$0

-bash:0: command not found

appleMBP:$0

-bash:0: command not found

appleMBP:$ rvm install 2.4.1

Searchingforbinary rubies, this might take some time.

No binary rubies availablefor: osx/10.11/x86_64/ruby-2.4.1.

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

Checking requirementsforosx.

About to install Homebrew, press `Enter`fordefaultinstallationin`/usr/local`,

type new pathifyou wish custom Homebrew installation (the path needs to be writableforuser)

:

==> This script will install:

/usr/local/bin/brew

/usr/local/Library/...

/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

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

/usr/local/.

==> The following directories will have their owner set to apple:

/usr/local/.

==> The following directories will have their group set to admin:

/usr/local/.

Press RETURN tocontinueor any other key to abort

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

Password:

==> /usr/bin/sudo /usr/sbin/chown apple /usr/local/.

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

==> Downloading and installing Homebrew...

remote: Counting objects:533, done.

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

remote: Total533(delta31), reused304(delta28), pack-reused0

Receiving objects:100% (533/533),807.76KiB |80.00KiB/s, done.

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

From https://github.com/Homebrew/brew

* [new branch]master-> origin/master

HEAD is now at97a66aa os/mac: Update ruby-macho callsforcompatibility with0.2.5.

==> Tapping homebrew/core

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

remote: Counting objects:3719, done.

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

remote: Total3719(delta15), reused1879(delta4), pack-reused0

Receiving objects:100% (3719/3719),2.88MiB |36.00KiB/s, done.

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

Checking connectivity... done.

Tapped3597formulae (3,745files,9.0M)

==> Installation successful!

==> Next steps

Run `brew help` to get started

Further documentation: https://git.io/brew-docs

==> Homebrew has enabled anonymous aggregate user behaviour analytics

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

https://git.io/brew-analytics

Installing requirementsforosx.

Updating system.....

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

Certificatesin'/usr/local/etc/openssl/cert.pem'are already up to date.

Requirements installation successful.

Installing Ruby from source to: /Users/xingfudeweiba/.rvm/rubies/ruby-2.4.1, this may take awhiledepending on your cpu(s)...

ruby-2.4.1- #downloading ruby-2.4.1, this may take awhiledepending on your connection...

% Total% Received % XferdAverage SpeedTimeTimeTimeCurrent

DloadUploadTotalSpentLeftSpeed

00000000--:--:--0:00:06--:--:--0curl: (22) The requested URL returned error:404Not Found

The requested url does not exist(22):'https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2'

Checking fallback: https://ftp.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2

No fallback URL could be found, try increasing timeout with:

echo"export rvm_max_time_flag=20">> ~/.rvmrc

There has been an error fetching the ruby interpreter. Halting the installation.

appleMBP:$ rvm install 2.4.1

Searchingforbinary rubies, this might take some time.

No binary rubies availablefor: osx/10.11/x86_64/ruby-2.4.1.

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

Checking requirementsforosx.

Certificatesin'/usr/local/etc/openssl/cert.pem'are already up to date.

Requirements installation successful.

Installing Ruby from source to: /Users/xingfudeweiba/.rvm/rubies/ruby-2.4.1, this may take awhiledepending on your cpu(s)...

ruby-2.4.1- #downloading ruby-2.4.1, this may take awhiledepending on your connection...

% Total% Received % XferdAverage SpeedTimeTimeTimeCurrent

DloadUploadTotalSpentLeftSpeed

00000000--:--:--0:00:02--:--:--0curl: (22) The requested URL returned error:404Not Found

The requested url does not exist(22):'https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2'

Checking fallback: https://ftp.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2

No fallback URL could be found, try increasing timeout with:

echo"export rvm_max_time_flag=20">> ~/.rvmrc

There has been an error fetching the ruby interpreter. Halting the installation.

appleMBP:$ rvm install 2.3.0

Searchingforbinary rubies, this might take some time.

No binary rubies availablefor: osx/10.11/x86_64/ruby-2.3.0.

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

Checking requirementsforosx.

Certificatesin'/usr/local/etc/openssl/cert.pem'are already up to date.

Requirements installation successful.

Installing Ruby from source to: /Users/xingfudeweiba/.rvm/rubies/ruby-2.3.0, this may take awhiledepending on your cpu(s)...

ruby-2.3.0- #downloading ruby-2.3.0, this may take awhiledepending on your connection...

% Total% Received % XferdAverage SpeedTimeTimeTimeCurrent

DloadUploadTotalSpentLeftSpeed

10013.5M10013.5M004730700:04:590:04:59--:--:--75774

ruby-2.3.0- #extracting ruby-2.3.0to /Users/xingfudeweiba/.rvm/src/ruby-2.3..-

ruby-2.3.0- #configuring......................................................|

ruby-2.3.0- #post-configuration.

ruby-2.3.0- #compiling........................................................|

ruby-2.3.0- #installing.........

ruby-2.3.0- #making binaries executable..

Installed rubygems2.5.1is newer than2.4.8provided with installed ruby, skipping installation, use --force to force installation.

ruby-2.3.0- #gemset created /Users/xingfudeweiba/.rvm/gems/ruby-2.3.0@global

ruby-2.3.0- #importing gemset /Users/xingfudeweiba/.rvm/gemsets/global.gems...|

ruby-2.3.0- #generating global wrappers........

ruby-2.3.0- #gemset created /Users/xingfudeweiba/.rvm/gems/ruby-2.3.0

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

ruby-2.3.0- #generatingdefaultwrappers........

ruby-2.3.0- #adjusting #shebangsfor(gem irb erb ri rdoc testrb rake).

Install of ruby-2.3.0- #complete

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

appleMBP:$ ruby -v

ruby2.3.0p0 (2015-12-25revision53290) [x86_64-darwin15]

appleMBP:$ sudo gem install cocoapods

Password:

Fetching: i18n-0.7.0.gem (100%)

Successfully installed i18n-0.7.0

Fetching: thread_safe-0.3.5.gem (100%)

Successfully installed thread_safe-0.3.5

Fetching: tzinfo-1.2.2.gem (100%)

Successfully installed tzinfo-1.2.2

Fetching: concurrent-ruby-1.0.2.gem (100%)

Successfully installed concurrent-ruby-1.0.2

Fetching: activesupport-5.0.0.1.gem (100%)

Successfully installed activesupport-5.0.0.1

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.0.1.gem (100%)

Successfully installed cocoapods-core-1.0.1

Fetching: claide-1.0.0.gem (100%)

Successfully installed claide-1.0.0

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

Successfully installed cocoapods-deintegrate-1.0.0

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

Successfully installed cocoapods-downloader-1.1.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: netrc-0.7.8.gem (100%)

Successfully installed netrc-0.7.8

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

Successfully installed cocoapods-trunk-1.0.0

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

Successfully installed cocoapods-try-1.1.0

Fetching: molinillo-0.4.5.gem (100%)

Successfully installed molinillo-0.4.5

Fetching: colored-1.2.gem (100%)

Successfully installed colored-1.2

Fetching: xcodeproj-1.2.0.gem (100%)

Successfully installed xcodeproj-1.2.0

Fetching: escape-0.0.4.gem (100%)

Successfully installed escape-0.0.4

Fetching: fourflusher-0.3.2.gem (100%)

Successfully installed fourflusher-0.3.2

Fetching: cocoapods-1.0.1.gem (100%)

Successfully installed cocoapods-1.0.1

Parsing documentationfori18n-0.7.0

Installing ri documentationfori18n-0.7.0

Parsing documentationforthread_safe-0.3.5

Installing ri documentationforthread_safe-0.3.5

Parsing documentationfortzinfo-1.2.2

Installing ri documentationfortzinfo-1.2.2

Parsing documentationforconcurrent-ruby-1.0.2

Installing ri documentationforconcurrent-ruby-1.0.2

Parsing documentationforactivesupport-5.0.0.1

Installing ri documentationforactivesupport-5.0.0.1

Parsing documentationfornap-1.1.0

Installing ri documentationfornap-1.1.0

Parsing documentationforfuzzy_match-2.0.4

Installing ri documentationforfuzzy_match-2.0.4

Parsing documentationforcocoapods-core-1.0.1

Installing ri documentationforcocoapods-core-1.0.1

Parsing documentationforclaide-1.0.0

Installing ri documentationforclaide-1.0.0

Parsing documentationforcocoapods-deintegrate-1.0.0

Installing ri documentationforcocoapods-deintegrate-1.0.0

Parsing documentationforcocoapods-downloader-1.1.0

Installing ri documentationforcocoapods-downloader-1.1.0

Parsing documentationforcocoapods-plugins-1.0.0

Installing ri documentationforcocoapods-plugins-1.0.0

Parsing documentationforcocoapods-search-1.0.0

Installing ri documentationforcocoapods-search-1.0.0

Parsing documentationforcocoapods-stats-1.0.0

Installing ri documentationforcocoapods-stats-1.0.0

Parsing documentationfornetrc-0.7.8

Installing ri documentationfornetrc-0.7.8

Parsing documentationforcocoapods-trunk-1.0.0

Installing ri documentationforcocoapods-trunk-1.0.0

Parsing documentationforcocoapods-try-1.1.0

Installing ri documentationforcocoapods-try-1.1.0

Parsing documentationformolinillo-0.4.5

Installing ri documentationformolinillo-0.4.5

Parsing documentationforcolored-1.2

Installing ri documentationforcolored-1.2

Parsing documentationforxcodeproj-1.2.0

Installing ri documentationforxcodeproj-1.2.0

Parsing documentationforescape-0.0.4

Installing ri documentationforescape-0.0.4

Parsing documentationforfourflusher-0.3.2

Installing ri documentationforfourflusher-0.3.2

Parsing documentationforcocoapods-1.0.1

Installing ri documentationforcocoapods-1.0.1

Done installing documentationfori18n, thread_safe, tzinfo, concurrent-ruby, activesupport, nap, fuzzy_match, cocoapods-core, claide, cocoapods-deintegrate, cocoapods-downloader, cocoapods-plugins, cocoapods-search, cocoapods-stats, netrc, cocoapods-trunk, cocoapods-try, molinillo, colored, xcodeproj, escape, fourflusher, cocoapods after19seconds

23gems installed

appleMBP:$ sudo gem install -n /usr/local/bin cocoapods

Password:

Successfully installed cocoapods-1.0.1

Parsing documentationforcocoapods-1.0.1

Done installing documentationforcocoapods after2seconds

1gem installed

appleMBP:$ pod setup

Setting up CocoaPods master repo

$ /usr/bin/git pull --ff-only

From https://github.com/CocoaPods/Specs

1ea33c8..b8befbcmaster-> origin/master

Updating1ea33c8..b8befbc

Fast-forward

.../5.0.1/AMTableWithStickyView.podspec.json|21++++

Specs/CASDK/1.5.5/CASDK.podspec.json|110+++++++++++++++++++++

Specs/CZPicker/0.4.3/CZPicker.podspec.json|23+++++

.../0.0.3/EachbabyBaiduSDK.podspec.json|49+++++++++

.../0.0.4/EachbabyBaiduSDK.podspec.json|50++++++++++

Specs/FTIndicator/1.1.0/FTIndicator.podspec.json|28++++++

.../1.1.0/FTNotificationIndicator.podspec.json|27+++++

.../1.1.0/FTProgressIndicator.podspec.json|28++++++

.../1.1.0/FTToastIndicator.podspec.json|27+++++

Specs/GJWNetwork/0.1.4/GJWNetwork.podspec.json|24+++++

Specs/JLTreeMenu/0.1.0/JLTreeMenu.podspec.json|24+++++

.../0.1.3/KKSActionSheet.podspec.json|23+++++

Specs/LHStaticPod/0.1.0/LHStaticPod.podspec.json|22+++++

Specs/OsXBase/0.1.2/OsXBase.podspec.json|22+++++

Specs/QKLockView/0.0.2/QKLockView.podspec.json|27+++++

.../RFIBAN-Helper/1.0.3/RFIBAN-Helper.podspec.json |20++++

.../1.01/SwiftExpression.podspec.json|21++++

.../TCCategories/0.1.10/TCCategories.podspec.json|28++++++

Specs/TCSetting/1.0.11/TCSetting.podspec.json|27+++++

.../1.0.1/THNavigationController.podspec.json|28++++++

Specs/WTFramework/0.1.0/WTFramework.podspec.json|32++++++

.../3.2.02/usdkFramework.podspec.json|25+++++

22files changed,686insertions(+)

create mode100644Specs/AMTableWithStickyView/5.0.1/AMTableWithStickyView.podspec.json

create mode100644Specs/CASDK/1.5.5/CASDK.podspec.json

create mode100644Specs/CZPicker/0.4.3/CZPicker.podspec.json

create mode100644Specs/EachbabyBaiduSDK/0.0.3/EachbabyBaiduSDK.podspec.json

create mode100644Specs/EachbabyBaiduSDK/0.0.4/EachbabyBaiduSDK.podspec.json

create mode100644Specs/FTIndicator/1.1.0/FTIndicator.podspec.json

create mode100644Specs/FTNotificationIndicator/1.1.0/FTNotificationIndicator.podspec.json

create mode100644Specs/FTProgressIndicator/1.1.0/FTProgressIndicator.podspec.json

create mode100644Specs/FTToastIndicator/1.1.0/FTToastIndicator.podspec.json

create mode100644Specs/GJWNetwork/0.1.4/GJWNetwork.podspec.json

create mode100644Specs/JLTreeMenu/0.1.0/JLTreeMenu.podspec.json

create mode100644Specs/KKSActionSheet/0.1.3/KKSActionSheet.podspec.json

create mode100644Specs/LHStaticPod/0.1.0/LHStaticPod.podspec.json

create mode100644Specs/OsXBase/0.1.2/OsXBase.podspec.json

create mode100644Specs/QKLockView/0.0.2/QKLockView.podspec.json

create mode100644Specs/RFIBAN-Helper/1.0.3/RFIBAN-Helper.podspec.json

create mode100644Specs/SwiftExpression/1.01/SwiftExpression.podspec.json

create mode100644Specs/TCCategories/0.1.10/TCCategories.podspec.json

create mode100644Specs/TCSetting/1.0.11/TCSetting.podspec.json

create mode100644Specs/THNavigationController/1.0.1/THNavigationController.podspec.json

create mode100644Specs/WTFramework/0.1.0/WTFramework.podspec.json

create mode100644Specs/usdkFramework/3.2.02/usdkFramework.podspec.json

CocoaPods1.1.0.beta.1is 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 athttps://github.com/CocoaPods/CocoaPods/releases/tag/1.1.0.beta.1

Setup completed

appleMBP:$ sudo gem update --system

Updating rubygems-update

Fetching: rubygems-update-2.6.6.gem (100%)

Successfully installed rubygems-update-2.6.6

Parsing documentationforrubygems-update-2.6.6

Installing ri documentationforrubygems-update-2.6.6

Installing darkfish documentationforrubygems-update-2.6.6

Done installing documentationforrubygems-update after28seconds

Parsing documentationforrubygems-update-2.6.6

Done installing documentationforrubygems-update after0seconds

Installing RubyGems2.6.6

RubyGems2.6.6installed

Parsing documentationforrubygems-2.6.6

Installing ri documentationforrubygems-2.6.6

===2.6.6/2016-06-22

Bug fixes:

* Sort installed versions to make sure we install the latest version when

running `gem update --system`. As a one-time fix, run

`gem update --system=2.6.6`. Pull request #1601by David Radcliffe.

===2.6.5/2016-06-21

Minor enhancements:

* Supportforunified IntegerinRuby2.4. Pull request #1618

by SHIBATA Hiroshi.

* Update vendored Molinillo to0.5.0forperformance improvements.

Pull request #1638by Samuel Giddins.

Bug fixes:

* Raise an explicit errorifSigner#sign is called with no certs. Pull

request #1605by Daniel Berger.

* Update `update_bundled_ca_certificates` utility scriptfordirectory

nesting. Pull request #1583by James Wen.

* Fix broken symlink supportintar writer (+ fix broken test). Pull

request #1578by Cezary Baginski.

* Remove extension directory before (re-)installing. Pull request #1576

by Jeremy Hinegardner.

* Regenerate test CA certificates with appropriate extensions. Pull

request #1611by rhenium.

* Rubygems does not terminate on failed file lock when not superuser. Pull

request #1582by Ellen Marie Dash.

* Fix tar headers with a101character name. Pull request #1612by Paweł

Tomulik.

* Add Gem.platform_defaults to allow implementations to override defaults.

Pull request #1644by Charles Oliver Nutter.

* Run Bundler tests on TravisCI. Pull request #1650by Samuel Giddins.

===2.6.4/2016-04-26

Minor enhancements:

* Use Gem::Util::NULL_DEVICE instead of hard coded strings. Pull request #1588

by Chris Charabaruk.

* Use File.symlink on MS Windowsifsupported. Pull request #1418

by Nobuyoshi Nakada.

Bug fixes:

* Redact uri password from error output when gem fetch fails. Pull request

#1565by Brian Fletcher.

* Suppress warnings. Pull request #1594by Nobuyoshi Nakada.

* Escape user-supplied content served on web pages by `gem server` to avoid

potential XSS vulnerabilities. Samuel Giddins.

===2.6.3/2016-04-05

Minor enhancements:

* Lazily calculate Gem::LoadError exception messages. Pull request #1550

by Aaron Patterson.

* New fastly cert. Pull request #1548by David Radcliffe.

* Organize and cleanup SSL certs. Pull request #1555by James Wen.

* [RubyGems] Make deprecation messageforpaths= more helpful. Pull

request #1562by Samuel Giddins.

* Showdefaultgems when using"gem list". Pull request #1570by Luis

Sagastume.

Bug fixes:

* Stub ordering should be consistent regardless of how cache is populated.

Pull request #1552by Aaron Patterson.

* Handle cases when the @@stubs variable contains non-stubs. Pull request

#1558by Per Lundberg.

* Fix test on Windowsforinconsistent temp path. Pull request #1554by

Hiroshi Shirosaki.

* Fix `Gem.find_spec_for_exe` picks oldest gem. Pull request #1566by

Shinichi Maeshima.

* [Owner] Fallback to email and userid when owner email is missing. Pull

request #1569by Samuel Giddins.

* [Installer] Handlenilexisting executable. Pull request #1561by Samuel

Giddins.

* Allow two digit version numbersinthe tests. Pull request #1575by unak.

===2.6.2/2016-03-12

Bug fixes:

* Fix wrong version of gem activationforbin stub. Pull request #1527by

Aaron Patterson.

* Speed up gem activation failures. Pull request #1539by Aaron Patterson.

* Fix platform sortinginthe resolver. Pull request #1542by Samuel E.

Giddins.

* Ensure we unlock the monitor eveniftry_activate throws. Pull request

#1538by Charles Oliver Nutter.

===2.6.1/2016-02-28

Bug fixes:

* Ensure `default_path` and `home` are setforpaths. Pull request #1513

by Aaron Patterson.

* Restore but deprecate supportforArray values on `Gem.paths=`. Pull

request #1514by Aaron Patterson.

* Fix invalid gem file preventing gem install from working. Pull request

#1499by Luis Sagastume.

===2.6.0/2016-02-26

Minor enhancements:

* RubyGems now defaults the `gem push` to the gem's "allowed_push_host"

metadata setting.Pull request #1486by Josh Lane.

* Update bundled Molinillo to0.4.3. Pull request #1493by Samuel E. Giddins.

* Add version option to gem open command. Pull request #1483by Hrvoje

Šimić.

* Feature/add silent flag. Pull request #1455by Luis Sagastume.

* Allow specifying gem requirements via env variables. Pull request #1472

by Samuel E. Giddins.

Bug fixes:

* RubyGems now stores `gem push` credentials under the host yousigned-infor.

Pull request #1485by Josh Lane.

* Move `coding` location to first line. Pull request #1471by SHIBATA

Hiroshi.

* [PathSupport] Handle a regexp path separator. Pull request #1469by

Samuel E. Giddins.

* Clean up the PathSupport object. Pull request #1094by Aaron Patterson.

* Join with File::PATH_SEPARATORinGem.use_paths. Pull request #1476by

Samuel E. Giddins.

* Handle when the gem home and gem path arent setinthe config file. Pull

request #1478by Samuel E. Giddins.

* Terminate TimeoutHandler. Pull request #1479by Nobuyoshi Nakada.

* Remove redundant cache. Pull request #1482by Eileen M. Uchitelle.

* Freeze `Gem::Version@segments` instance variable. Pull request #1487by

Ben Dean.

* Gem cleanup is trying to uninstall gems outside GEM_HOME and reporting

an error after it tries. Pull request #1353by Luis Sagastume.

* Avoid duplicated sources. Pull request #1489by Luis Sagastume.

* Better descriptionforquiet flag. Pull request #1491by Luis Sagastume.

* Raise erroriffind_by_name returns withnil. Pull request #1494by

Zoltán Hegedüs.

* Find_files only from loaded_gems when using gemdeps. Pull request #1277

by Michal Papis.

===2.5.2/2016-01-31

Bug fixes:

* Fix memoization of Gem::Version#prerelease? Pull request #1125by Matijs van

Zuijlen.

* Handle trailing colonsinGEM_PATH, by Damien Robert.

* Improve the Gemfile `gemspec` method, fixing #1204and #1033.Pull request

#1276by Michael Papis.

* Warn only once when a gemspec license is invalid. Pull request #1414by Samuel

E. Giddins.

* Checkforexact constants before using them, fixing Ruby bug #11940.Pull

request #1438by Nobuyoshi Nakada.

* Fix building C extensions on Ruby1.9.x on Windows. Pull request #1453by Marie

Markwell.

* Handle symlinks containing".."correctly. Pull request #1457by Samuel E.

Giddins.

Minor enhancements:

* Add `--no-rc` flag, which skips loading `.gemrc`. Pull request #1329by Luis

Sagastume.

* Allow basic auth to be excluded from `allowed_push_host`. By Josh Lane.

* Add `gem list --exact`, which finds gems by string match instead of regex. Pull

request #1344by Luis Sagastume.

* Suggest alternatives when gem license is unknown. Pull request #1443by Samuel

E. Giddins.

* Print a useful errorifa binstub expects a newer version of a gem than is

installed. Pull request #1407by Samuel E. Giddins.

* Allow the (supported) s3:// scheme to be used with `--source`. Pull request

#1416by Dave Adams.

* Add `--[no-]post-install-message` to `install` and `update`. Pull request #1162

by Josef Šimánek.

* Add `--host` option to `yank`, providing symmetry with `pull`. Pull request

#1361by Mike Virata-Stone.

* Update bundled Molinillo to0.4.1. Pull request #1452by Samuel E. Giddins.

* Allow calling `build` without'.gemspec'. Pull request #1454by Stephen

Blackstone.

* Add supportfor`source` option on gemsinGemfile. Pull request #1355by

Michael Papis.

* Function correctly when string literals are frozen on Ruby2.3. Pull request

#1408by Samuel E. Giddins.

===2.5.1/2015-12-10

Bug fixes:

* Ensure platform sorting only uses strings. Affected binary installs on Windows.

Issue #1369reported by Ryan Atball (among others).

Pull request #1375by Samuel E. Giddins.

* Revert PR #1332.Unable to reproduce, andnilshould be impossible.

* Gem::Specification#to_fullpath now returns .rb extensions when such a file

exists.Pull request #1114by y-yagi.

* RubyGems now handles Net::HTTPFatalError instead of crashing.Pull

request #1314by Samuel E. Giddins.

* Updated bundled Molinillo to0.4.0.Pull request #1322, #1396by Samuel E.

Giddins.

* Improved performance of spec loading by reducing likelihood of loading the

complete specification.Pull request #1373by Aaron Patterson.

* Improved caching of requirable filesPull request #1377by Aaron Patterson.

* Fixed activation of gems with development dependencies.Pull request #1388

by Samuel E. Giddins.

* RubyGems now uses the same Molinillo vendoring strategy as Bundler.Pull

request #1397by Samuel E. Giddins.

* Fixed documentation of Gem::Requirement.parse.Pull request #1398by

Juanito Fatas.

* RubyGems no longer warns when a prerelease gem has prerelease dependencies.

Pull request #1399by Samuel E. Giddins.

* Fixed Gem::Version documentation example.Pull request #1401by Guilherme

Goettems Schneider.

* Updated documentation links to https://.Pull request #1404 by Suriyaa

Kudo.

* Fixeddoubleword typo.Pull request #1411by Jake Worth.

------------------------------------------------------------------------------

RubyGems installed the following executables:

/Users/xingfudeweiba/.rvm/rubies/ruby-2.3.0/bin/gem

Ruby Interactive (ri) documentation was installed. ri is kind of like man

pagesforruby libraries. You may access it like this:

ri Classname

ri Classname.class_method

ri Classname#instance_method

If youdonot wish to install this documentationinthe future, use the

--no-document flag, or set it as thedefaultinyour ~/.gemrc file. See

'gem help env'fordetails.

RubyGems system software updated

appleMBP:$ pod --version

1.0.1

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 206,013评论 6 481
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 88,205评论 2 382
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 152,370评论 0 342
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 55,168评论 1 278
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 64,153评论 5 371
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,954评论 1 283
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 38,271评论 3 399
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,916评论 0 259
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 43,382评论 1 300
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,877评论 2 323
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,989评论 1 333
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,624评论 4 322
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 39,209评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,199评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,418评论 1 260
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 45,401评论 2 352
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,700评论 2 345

推荐阅读更多精彩内容