美文网首页
cocoapods采坑 2020-02-03

cocoapods采坑 2020-02-03

作者: emore | 来源:发表于2020-02-03 20:21 被阅读0次

    一、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

          本文链接:https://www.haomeiwen.com/subject/rumkxhtx.html