Fastlane在运行命令fastlane init时永远停留

sey*_*yha 9 ios devops fastlane

我正在使用带有xcode 9的fastlane,我遇到了fastlane(2.95.0)的问题.当我运行命令fastlane init时,它显示了4个选项.然后我选择了4号选项,但它永远停滞不前.如何解决这个问题呢?

在此输入图像描述

rog*_*one 18

使用sudo fastlane init. 这为我解决了这个问题

https://github.com/fastlane/fastlane/issues/12500


Raj*_*hoo 5

我的机器中也曾发生过此问题。问题出在默认Ruby环境上。您可以尝试“宝石清理”,看看是否可以为您加快速度吗?

另外,如果那行不通,请您尝试以下命令-

gem cleanup
gem update -p
rvm reinstall ruby-2.5.1 --with-openssl-dir=/usr/local
gem install fastlane --verbose
Run Code Online (Sandbox Code Playgroud)