Usage

As with any of the other fastlane utilities, gym works even better in concert with other utilities as part of a lane, and we will show you how to integrate gym into our Fastfile later on. For now, let's start off with the simplest command:

fastlane gym

When prompted for the scheme, select Client.

You will get a whole bunch of Terminal text that resembles the following:

... [17:45:02]: $ xcodebuild -list -project ./Client.xcodeproj ... ... [17:45:13]: $ set -o pipefail && xcodebuild -scheme Fennec -project ./Client.xcodeproj -destination 'generic/platform=iOS' -archivePath /Users/doronkatz/Library/Developer/Xcode/Archives/2017-07-29/Client\ 2017-07-29\ 17.45.13.xcarchive archive | tee /Users/doronkatz/Library/Logs/gym/Client-Fennec.log ...

Get Continuous Delivery for Mobile with fastlane now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.