profile
viewpoint

Ask questionsupload_to_app_store failing when uploading no screenshots

<!-- Thanks for helping fastlane! Before you submit your issue, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->

New Regression Checklist

Regression Information

<!-- Knowing the breaking versions and last working versions helps us track down the regression easier -->

  • Breaking version: [e.g. 2.156.0]
  • Last working version: [e.g. 2.149.1]

Regression Description

In our setup we never had any screenshots to upload by Fastlane and upload_to_app_store worked fine. Having today updated to the latest Fastlane, uploads to App Store started failing with this error:

Failed verification of all screenshots uploaded... 0 incomplete screenshot(s) still exist

This error is unexpected because we don't expect any screenshots to be uploaded so there's really nothing to verify about them either. (OTOH we never specified skip_screenshots.)

As a workaround, setting the environment variable DELIVER_SKIP_SCREENSHOTS=true made the upload pass.

The above error message was introduced by https://github.com/fastlane/fastlane/pull/16972, so I assume this to be a new regression in 2.156.0.

Complete output when running fastlane, including the stack trace and command used

<details> <pre> [13:55:26]: Will begin uploading snapshots for '3.2.1' on App Store Connect [13:55:26]: Starting with the upload of screenshots... [✔] Waiting for all the screenshots processed... [13:55:29]: Failed to upload all screenshots... Tries remaining: 4 [✔] Waiting for all the screenshots processed... [13:55:30]: Failed to upload all screenshots... Tries remaining: 3 [✔] Waiting for all the screenshots processed... [13:55:32]: Failed to upload all screenshots... Tries remaining: 2 [✔] Waiting for all the screenshots processed... [13:55:34]: Failed to upload all screenshots... Tries remaining: 1 [✔] Waiting for all the screenshots processed... ... [13:55:35]: Failed verification of all screenshots uploaded... 0 incomplete screenshot(s) still exist

+------+---------------------------------------------------------------+-------------+ | fastlane summary | +------+---------------------------------------------------------------+-------------+ | Step | Action | Time (in s) | +------+---------------------------------------------------------------+-------------+ | ... | 💥 | upload_to_app_store | 22 | +------+---------------------------------------------------------------+-------------+

[13:55:35]: fastlane finished with errors

[!] Failed verification of all screenshots uploaded... 0 incomplete screenshot(s) still exist</pre> </details>

Environment

Essentially we have skip_screenshots at its default value of false but no screenshots to upload by Fastlane when this error happens.

fastlane/fastlane

Answer questions pyrtsa

Thank you! Will test it soon.

useful!
source:https://uonfu.com/
Github User Rank List