Fastlane Gym Options?
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!
Update
Turns I am just really bad with documentation — you can just use the following command:
fastlane action gym
Oops.
