fastlane-community / fastlane-plugin-cordova_screenshots

Take screenshots of your Cordova/Ionic app with fastlane

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove SnapshotHelper.swift resource, handle external file

janpio opened this issue · comments

See: /lib/fastlane/plugin/ionic_integration/resources/ios/ui-snapshots/
This should not be here in this repo, but gotten somehow from snapshot or via calling another action to be up to date.

File is in an guessable location in 99.9% of cases: fastlane/SnapshotHelper.swift.
If it is not, we can ask the user to run fastlane snapshot init or fastlane snapshot update.

Actually, SnapshotHelper.swift is fully handled by snapshot itself, we don't need to handle the file at all.

We would only have to be able to find out the actual path of the file it gets linked into our UI Test Target as well.