标签:
听说CocoaPods的国内镜像源改了,之前是淘宝的,现在改成了阿里的链接。
在终端中:
1. 查看当前的镜像源
$ gem sources
显示:
*** CURRENT SOURCES ***
http://ruby.taobao.org
2. 删除淘宝的镜像源
$ gem sources -r https://ruby.taobao.org
显示:
https://ruby.taobao.org removed from sources
3. 添加阿里的镜像源
$ gem sources -a http://rubygems-china.oss.aliyuncs.com
显示:
http://rubygems-china.oss.aliyuncs.com added to sources
参考:http://cnbin.github.io/blog/2015/05/25/cocoapods-an-zhuang-he-shi-yong/
标签:
原文地址:http://www.cnblogs.com/staRR-k2/p/5021602.html