Comment on page
fastlane的安装
#fastlane
Fastlane 是基于 Ruby 开发的工具,因此可以使用Gem 来安装
sudo gem install fastlane -NV
- 1.ERROR: Error installing fastlane: ERROR: Failed to build gem native extension.

解决办法: 升级ruby,重新安装
brew install fastlane
- 1.使用 brew install fastlane 安装;安装位置在
/usr/local/Cellar

- 1.在环境变量中设置fastlane , 在
~/.bash_profile
中添加
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}"
PATH="/usr/local/Cellar/fastlane/2.141.0/bin:${PATH}" # 增加fastlane路径
PATH="/usr/local/opt/[email protected]/bin:${PATH}"
export PATH
export LC_ALL=en_US.UTF-8 # 设置fastlane本地化字符编码
export LANG=en_US.UTF-8
最近更新 1yr ago