fastlane: Deliver fails to create a new app version on App Store Connect

New Issue Checklist

Issue Description

Deliver fails to create a new app version on App Store Connect

Command executed
lane :submit_review do
  deliver(
    submit_for_review: true,
    automatic_release: false,
    force: true, # Skip HTMl report verification
    skip_metadata: true,
    skip_screenshots: true,
    skip_binary_upload: true,
    run_precheck_before_submit: false,
    submission_information: { export_compliance_uses_encryption: false,
                              add_id_info_uses_idfa: false }
  )
end
Complete output when running fastlane, including the stack trace and command used
[17:42:54]: Cannot find edit app store version... Retrying after 10 seconds (remaining: 4)
[17:43:06]: Cannot find edit app store version... Retrying after 10 seconds (remaining: 3)
[17:43:17]: Cannot find edit app store version... Retrying after 10 seconds (remaining: 2)
[17:43:27]: Cannot find edit app store version... Retrying after 10 seconds (remaining: 1)
[17:43:38]: Cannot find edit app store version... Retrying after 10 seconds (remaining: 0)

and fails with

[17:43:48]: Cannot update languages - could not find an editable version for โ€˜IOSโ€™

Trying to upload a new version of an app to App Store Connect, Deliver fails when it tries to upload metadata because it didn't create a new app version successfully on App Store Connect.

Environment

Fastlane 2.217.0

About this issue

  • Original URL
  • State: open
  • Created 7 months ago
  • Reactions: 13
  • Comments: 18 (7 by maintainers)

Most upvoted comments

Hey everyone! ๐Ÿ‘‹

Hi @rogerluan but the chances of Apple fixing their code anytime soon are pretty low so maybe fastlane can work around it somehow? They did their 10 second retries so maybe something else needs to be incorporated?

Iโ€™ve opened a PR that should resolve the issues you guys are seeing: https://github.com/fastlane/fastlane/pull/21742

@ everyone, if you wanna help (and increase the chances of your CI succeeding ๐Ÿ˜‡), you can help test this PR of mine in the wild ๐Ÿ™‡ this would be tremendously helpful and Iโ€™d be super grateful! โ˜บ๏ธ โ€” Check out the PR description for steps on how to install my PR in your fastlane setup

Looking forward to hearing feedback from the community whether the proposed solution works ๐Ÿ™


@ArthurAlvarez I reviewed your PR and I proposed a different solution (see PR above), I hope youโ€™re okay with that! ๐Ÿ™‡ thank you for taking a stab at fixing this issue, though! Super helpful! โค๏ธ

Hi @rogerluan but the chances of Apple fixing their code anytime soon are pretty low so maybe fastlane can work around it somehow? They did their 10 second retries so maybe something else needs to be incorporated?