Fastlane Gym Options?

Nick Meehan
Aug 23, 2017 · 2 min read

Through my use of Fabric and Crashlytics, I was exposed to Fastlane as an option for sending beta deployments for testing. If you’re unfamiliar with what Fastlane is, it is a tool to make releasing iOS and Android apps dead simple — from build all the way to app store release, and everything in between.

Fabric has a great guide — linked below — on how to get up and running with Fastlane and generating your first Fastfile. If you’re anything like me, you’d just use the generated Fastfile, play with the beta deployment just enough to get it working, and be done with it.

But there will come a time where you need to make some modifications to this Fastfile, so you think to yourself:

I want to change the release notes.

I want to add other app tracking.

I want to change the configuration of my lane’s gym.

This last situation is the exact one I found myself in, scouring Fastlane’s documentation, searching for how I could configure the gym for a release lane I’m building, unable to find out what options are available when configuring a gym. Full disclosure, I may just be really bad at looking through documentation. In any case, I turned to the source code in search of what I was looking for and to save the time of having to go looking for it, I’ve provided a link to the source, as well as a copy of it in a code snippet below.

Enjoy!

Pulled directly from Fastlane source code — https://github.com/fastlane/fastlane/blob/master/gym/lib/gym/options.rb

Update

Turns I am just really bad with documentation — you can just use the following command:

fastlane action gym

Oops.

)
Nick Meehan

Written by

Swift, Ruby and Cryptocurrencies.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade