fastlane: snapshot
- Create dedicated UI Test Target and Scheme (enable
Run
option for the Test Target) for snapshots.
- Run
$ bundle exec fastlane snapshot init
- Add
SnapshotHelper.swift
to Test Target.
- Add UI tests for snapshots.
- Edit
Snapfile
- select devices and languages.
- 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