cocoapods 安装

cocoapods 安装

1、删除国外的 rubygems 路径

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

 

2、添加国内的 rubygems 镜像(目前淘宝停止 HTTP 协议的镜像服务,使用 HTTPS 协议替代)
gem sources -a https://ruby.taobao.org

 

3、查看当前系统中的 rubygems

gem sources -l

 

4、安装 cocoapds
sudo gem install cocoapods

 


http://code4app.com/article/cocoapods-install-usage
pod repo remove master
使用oschina 镜像
pod repo add  master http://git.oschina.net/akuandev/Specs.git
pod repo update

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

posted on 2015-07-06 13:22  奋进的闹钟  阅读(214)  评论(0编辑  收藏  举报

导航