您的位置:首页 > 其它

cocoapods 安装

2015-07-06 13:22 281 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: