fastlane: command not found.

原因1:

  没有安装Xcode命令行工具,执行xcode-select --install

原因二:  

  没有安装fastlane 执行sudo gem install fastlane -NV 或brew cask install fastlane

原因三:
  ~/.profile, ~/.zshrc ,~/.bashrc这三个文件添加export PATH="$HOME/.fastlane/bin:$PATH" 或 export PATH="$HOME/.fastlane/bin/fastlane_lib:$PATH"
  关闭终端,问题迎刃而解

  

原文地址:https://www.cnblogs.com/wupeng88/p/12893169.html