一、pod install时,卡在Cloning spec repo cocoapods from https://github.com/CocoaPods/Specs.git中





二:cocoapods换源
一、更换gem源
// 查看现有的源
gem source -l
// 移除
gem sources --remove http://ruby.taobao.org/
// 添加 ruby-china 的源
gem sources --remove https://gems.ruby-china.org/
参考:
https://juejin.im/post/5b9b804de51d450e852ff9d0
https://github.com/CocoaPods/Specs
http://www.mamicode.com/info-detail-1874887.html
网友评论