fastlane的安装

#fastlane

1. 使用ruby的包管理工具Gem 安装

Fastlane 是基于 Ruby 开发的工具,因此可以使用Gem 来安装

sudo gem install fastlane -NV

issue

  1. ERROR: Error installing fastlane: ERROR: Failed to build gem native extension.

解决办法: 升级ruby,重新安装

2. 使用Homebrew安装

  1. 使用 brew install fastlane 安装;安装位置在 /usr/local/Cellar

  1. 在环境变量中设置fastlane , 在~/.bash_profile中添加

Getting started with fastlane for iOS

最后更新于

这有帮助吗?