fastlane 安装有两种方式:brew 和gem
1.brew 安装与卸载
brew install fastlane
brew uninstall fastlane
会自动安装最新版本fastlane,安装目录在
usr/local/Cellar/fastlane
目前没有发现如何安装过往版本和多个版本
2.gem安装与卸载
//安装最新版本
gem install fastlane
//指定版本
gem install fastlane --version 2.212.0 --no-document
//卸载
gem uninstall fastlane
安装目录
/用户/user_name/.rvm/gems/ruby-3.0.0/gems/fastalne-2.212.0
可以有多个fastlane
Gemfile中可以指定fastlane版本
gem "fastlane",'2.212.0'
运行一下bundle update就可以更改Gemfile.lock中的依赖版本