fastlane-plugin-ionic_integration icon indicating copy to clipboard operation
fastlane-plugin-ionic_integration copied to clipboard

Your './fastlane/ionic/config/ios/ui-tests/ionic-screen-shots/SnapshotHelper.swift' is outdated, please run `fastlane snapshot update`

Open janpio opened this issue 7 years ago • 3 comments

While running the lane from the README for the first time I get this:

[04:28:30]: Your './fastlane/ionic/config/ios/ui-tests/ionic-screen-shots/SnapshotHelper.swift' is outdated, please run `fastlane snapshot update`
[04:28:30]: to update your Helper file
+---------------+--------------+
|         Lane Context         |
+---------------+--------------+
| PLATFORM_NAME | ios          |
| LANE_NAME     | ios snapshot |
+---------------+--------------+
[04:28:32]: Please update your Snapshot Helper file

+------+---------------------+-------------+
|             fastlane summary             |
+------+---------------------+-------------+
| Step | Action              | Time (in s) |
+------+---------------------+-------------+
| 1    | Verifying required  | 0           |
|      | fastlane version    |             |
| 💥   | snapshot            | 72          |
+------+---------------------+-------------+

[04:28:32]: fastlane finished with errors

[!] Please update your Snapshot Helper file

The version in /fastlane indeed seems to be version 1.4 while the generated one is version 1.3, the difference is one line almost at the end.

Copying the changes over manually fixed this error for now.

janpio avatar Aug 05 '17 02:08 janpio

@janpio Would you mind adding this to the PR fixes for the project name also? I am not available to make those changes myself.

knocknarea avatar Aug 07 '17 21:08 knocknarea

I can submit a PR just for this one. But maybe this should be handles in some other way that doesn't require this file to be present in this repo/plugin? It does come from somewhere...

janpio avatar Aug 07 '17 21:08 janpio

Yes actually, it is manually copied from here: https://github.com/fastlane/fastlane/blob/master/snapshot/lib/assets/SnapshotHelper.swift

knocknarea avatar Aug 07 '17 22:08 knocknarea