Fastlane bundle update卡主解决方案

如果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

猜你喜欢

转载自blog.csdn.net/weixin_33774883/article/details/87217950