Swift and iOS dev with Igor
The ride of the iOS developer

fastlane: snapshot

  1. Create dedicated UI Test Target and Scheme (enable Run option for the Test Target) for snapshots.
  1. Run
$ bundle exec fastlane snapshot init
  1. Add SnapshotHelper.swift to Test Target.
  1. Add UI tests for snapshots.
  1. Edit Snapfile - select devices and languages.
  1. Run `sh $ bundle exec fastlane snapshot `

For more see snapshot - fastlane docs, Screenshots - fastlane docs, and Creating perfect App Store Screenshots of your iOS App · Felix Krause.

References

Published on: Sep 1, 2022
Tagged with: