O'Reilly logo

Continuous Delivery for Mobile with fastlane by Doron Katz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required