Fastlane command not found

后端 未结 14 1687
粉色の甜心
粉色の甜心 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:36

    Add the following line to your bash profile:

    export PATH="$HOME/.fastlane/bin:$PATH"
    

    You can either close the terminal session and restart it or run source ~/.bash_profile to load your configuration and then you can go so you start using fastlane

    0 讨论(0)
  • 2020-12-23 17:37

    fastlane is in cask now. You can install it using

    brew cask install fastlane
    

    Now you need to export PATH so that your shell can find fastlane do

    export PATH="$HOME/.fastlane/bin:$PATH"
    

    If that doesn't work, try this

    export PATH="$HOME/.fastlane/bin/fastlane_lib:$PATH"
    

    Make sure you add it to ~/.profile, ~/.zshrc or ~/.bashrc for future

    0 讨论(0)
提交回复
热议问题