fastlane-community / fastlane-plugin-cordova_screenshots

Take screenshots of your Cordova/Ionic app with fastlane
MIT License
17 stars 10 forks source link

Remove SnapshotHelper.swift resource, handle external file #2

Open janpio opened 7 years ago

janpio commented 7 years ago

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.

janpio commented 6 years ago

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.

janpio commented 6 years ago

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

janpio commented 6 years ago

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.