首页 > 其他 > 详细

CocoaPods - 更改镜像源

时间:2015-12-05 16:05:54      阅读:331      评论:0      收藏:0      [点我收藏+]

听说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/

CocoaPods - 更改镜像源

原文:http://www.cnblogs.com/staRR-k2/p/5021602.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!