cocoapods采坑 2020-02-03

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

image.png

image.png

image.png

image.png

image.png

二: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

你可能感兴趣的:(cocoapods采坑 2020-02-03)