I am trying to install fastlane
. I have Xcode installed. I installed fastlane
using the command sudo gem install fastlane
. I now go in
I met this issue because of installing zsh, the below two steps solve my problem:
open ~/.zshrc
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.
save upon file and try fastlane init
, everything is OK!