CocoaPods 1.0.1 is available.
To update use: ' Gem install Cocoapods '
Until we reach version 1.0 the features of CocoaPods can and would change.
We strongly recommend that and the latest version at all times.
It is recommended to download the latest cocoapods But why do you pretend
But enter the gem install Cocoapods
Missing hints below
Error:while Executing gem ... (errno::eacces)
Permission denied-/library/ruby/gems/2.0.0/gems/xcodeproj-1.1.0/license
When executing the gem, do not prompt for permission
Input
sudo gem install -n /usr/local/bin cocoapods --pre
You can download all of them.
Mac-mini: Analog e-Pass download data yuyunjun$ sudo gem install-n/usr/local/bin cocoapods--pre
Successfully installed xcodeproj-1.1.0
Fetching:fourflusher-0.3.1.gem (100%)
Successfully installed fourflusher-0.3.1
Fetching:cocoapods-1.0.1.gem (100%)
Successfully installed cocoapods-1.0.1
Parsing documentation for xcodeproj-1.1.0
Installing RI documentation for xcodeproj-1.1.0
Parsing documentation for fourflusher-0.3.1
Installing RI documentation for fourflusher-0.3.1
Parsing documentation for cocoapods-1.0.1
Installing RI documentation for cocoapods-1.0.1
3 Gems installed
If the sudo gem install cocoapods
following error is reported at the time of execution:
Error:while executing gem ... (errno::eperm)
Operation not permitted-/usr/bin/pod
And your operating system is EI Caption
, but try to use the following methods to 代替
install the command above:
$ sudo gem Install- n /usr/local/bin Cocoapods
Attached: How to use Cocoapods's mirrored index:
所有项目的Podspec文件都托管在https://github.com/CocoaPods/Specs,第一次执行pod setup时,CocoaPods会将这些podspec索引文件更新到本地的~/.cocoapods目录下,这个索引文件比较大,所以第一次更新时非常慢.友好人士在国内的服务器建立了Cocoapods索引库的镜像,所以执行索引跟新操作时候会快很多.具体操作方法如下:$ pod repo remove master$ pod repo add master https://gitcafe.com/akuandev/Specs.git$ pod repo update这是使用gitcafe上的镜像,将以上代码中的 https://gitcafe.com/akuandev/Specs.git 替换成 http://git.oschina.net/akuandev/Specs.git 即可使用oschina上的镜像。
Cocoapod to meet the reason why the update is not