fastlane / fastlane
- пятница, 19 августа 2016 г. в 03:13:01
Ruby
The easiest way to automate building and releasing your iOS and Android apps
fastlane
is a tool for iOS, Mac, and Android developers to automate tedious tasks like generating screenshots, dealing with provisioning profiles, and releasing your application.
Use a lane to define your process:
lane :beta do
increment_build_number
cocoapods
match
testflight
sh "./customScript.sh"
slack
end
Then to deploy a new 'beta' version of your app just run
fastlane beta
fastlane | |
---|---|
Connect iOS, Mac, and Android build tools into one workflow (both fastlane tools and third party tools) |
|
Define different deployment lanes for App Store deployment, beta builds, or testing |
|
Deploy from any computer, including a CI server | |
Extend and customise functionality | |
Never remember any difficult commands, just fastlane |
|
Easy setup assistant to get started in a few minutes | |
Automatically pass on information from one build step to another (e.g. path to the ipa file) |
|
Store everything in Git. Never lookup build commands in Jenkins configs again. |
|
Saves you hours for every app update you release | |
Flexible configuration using a fully customisable Fastfile |
|
Implement a fully working Continuous Delivery process | |
Jenkins Integration: Show output directly in test results | |
Automatically generate Markdown documentation of your lane configurations | |
Over 170 built-in integrations available | |
Support for iOS, Mac, and Android apps | |
Full Git and Mercurial support |
sudo gem install fastlane --verbose
Make sure you have the latest version of the Xcode command line tools installed:
xcode-select --install
If you experience slow launch times of fastlane, try running:
gem cleanup
System Requirements: fastlane
requires macOS or Linux with Ruby 2.0.0 or above
If you'd like to take a look at a project already using fastlane
check out fastlane-examples which includes fastlane
setups by Wikipedia, Product Hunt, MindNode, and more.
fastlane
's setup assistant creates all the necessary files to get you started, using existing app metadata from iTunes Connect or Google Play.
cd [your_project_folder]
fastlane init
Fastfile
with additional actionsFor more details, check out the fastlane guide.
Typically you'll use fastlane
by triggering individual lanes:
fastlane [lane_name]
fastlane actions
: List all available fastlane
actionsfastlane action [action_name]
: Shows a more detailed description of an actionfastlane lanes
: Lists all available lanes with descriptionfastlane list
: Lists all available lanes without descriptionfastlane new_action
: Create a new action (integration) for fastlanefastlane
ToolchainIn addition to fastlane
's commands, you also have access to these fastlane
tools:
deliver
: Upload screenshots, metadata, and your app to the App Storesupply
: Upload your Android app and its metadata to Google Playsnapshot
: Automate taking localized screenshots of your iOS app on every devicescreengrab
: Automate taking localized screenshots of your Android app on every deviceframeit
: Quickly put your screenshots into the right device framespem
: Automatically generate and renew your push notification profilessigh
: Because you would rather spend your time building stuff than fighting provisioningproduce
: Create new iOS apps on iTunes Connect and Dev Portal using the command linecert
: Automatically create and maintain iOS code signing certificatesspaceship
: Ruby library to access the Apple Dev Center and iTunes Connectpilot
: The best way to manage your TestFlight testers and builds from your terminalboarding
: The easiest way to invite your TestFlight beta testersgym
: Building your iOS apps has never been easiermatch
: Easily sync your certificates and profiles across your team using Gitscan
: The easiest way to run tests for your iOS and Mac appsPlease submit an issue on GitHub and provide information about your setup.
Thanks to all contributors for extending and improving fastlane
.
Help us keep fastlane
open and inclusive. Please read and follow our Code of Conduct.
This project is licensed under the terms of the MIT license. See the LICENSE file.
This project and all fastlane tools are in no way affiliated with Apple Inc or Google. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.