February 2018
Intermediate to advanced
346 pages
9h 56m
English
Besides the most obvious command path, snapshot supports other optional parameters and flags, starting with a flag that will stop interacting with Simulator after the first error is encountered. The default behavior of snapshot is that if it fails with one device, it will continue on to the next device. You can change that default behavior and terminate immediately by adding the following flag:
fastlane snapshot —stop_after_first_error
As we saw in our example, at the conclusion of the snapshot-capturing process, it automatically opens up a web page with the results. You can also suppress that action by adding the following flag:
fastlane snapshot --stop_after_first_error --skip_open_summary
From time to time, you will ...
Read now
Unlock full access