美文网首页iOS (oc)持续集成-CI组件化
Fastlane bundle update卡主解决方案

Fastlane bundle update卡主解决方案

作者: Theshy | 来源:发表于2019-01-17 11:09 被阅读32次

如果bundle update卡住无响应那么很有可能是因为被墙了

  1. 首先在终端检查ruby源
➜  ~ gem source -l
*** CURRENT SOURCES ***

// 我的已经替换为gems.ruby-china了
https://gems.ruby-china.com/

如果不是请替换下

gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
  1. 打开工程中的Gemfile文件
source "https://rubygems.org"
替换为
source "https://gems-china.org"
  1. 删除fastlane文件夹,打开终端,cd到工程中,再次执行fastlane init

相关文章

网友评论

    本文标题:Fastlane bundle update卡主解决方案

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