Fastlane command not found

后端 未结 14 1736
粉色の甜心
粉色の甜心 2020-12-23 16:48

I am trying to install fastlane. I have Xcode installed. I installed fastlane using the command sudo gem install fastlane. I now go in

14条回答
  •  自闭症患者
    2020-12-23 17:13

    I met this issue because of installing zsh, the below two steps solve my problem:

    1. open ~/.zshrc
    2. save path

      2.1 if you install fastlane with Homebrew

      Copy export PATH="$HOME/.fastlane/bin:$PATH" on the bottom line.

      2.2 if you install fastlane with RubyGems

      Copy export PATH="/usr/local/bin/fastlane"" on the bottom line.

    3. save upon file and try fastlane init, everything is OK!

提交回复
热议问题