Fastlane
一、安装
先安装 Xcode 的 Command Line Tools:
xcode-select --install
安装 Fastlane:
sudo gem install fastlane
更新 Fastlane:
sudo gem update fastlane
二、使用
cd 到项目目录
初始化 fastLane:
fastlane init
安装蒲公英插件:
fastlane add_plugin pgyer
安装版本设置插件:
fastlane add_plugin versioning
编辑 Fastfile 文件,编写 Fastlane Action
cocoapods管理包的话:需要在
Gemfile
文件中添加gem "cocoapods"
执行发布命令:
Last updated
Was this helpful?