Getting error that bundle version is not high enough (which isn't true)

A couple months ago, I got an error when attempting to deploy our app to App Store Connect (see error further below).

I used the CLI command xcrun altool --upload-app, and I was trying to upload a new version 1.0.26 build 0, when the previous uploaded version was 1.0.25 build 2 (so the new version is definitely a higher number).

I later tried to upload a version 1.0.27 build 1, and that still failed.

Note that I have an identical staging app, and I was able to go from 1.0.25 build 2 to 1.0.26 build 0 just fine there. And I have never had issues with version incrementation in the past for either our production or staging app.

What could be going wrong here?

Here are the error logs:

2026-04-30 23:18:19.430 ERROR: [ContentDelivery.Uploader.6000012404C0] The provided entity includes an attribute with a value that has already been used (-19232) The bundle version must be higher than the previously uploaded version: ‘0’. (ID: 71a9077b-807a-476c-b8a2-04cb8357bc32)

NSUnderlyingError : The provided entity includes an attribute with a value that has already been used (-19241) The bundle version must be higher than the previously uploaded version.

  status : 409
  detail : The bundle version must be higher than the previously uploaded version.

Failed to upload archive at '[MyApp].ipa'.

      source : 
         pointer : /data/attributes/cfBundleVersion
      id : 71a9077b-807a-476c-b8a2-04cb8357bc32
      code : ENTITY_ERROR.ATTRIBUTE.INVALID.DUPLICATE
      title : The provided entity includes an attribute with a value that has already been used
      meta : 
         previousBundleVersion : 0
   previousBundleVersion : 0
   iris-code : ENTITY_ERROR.ATTRIBUTE.INVALID.DUPLICATE

2026-04-30 23:18:19.431 ERROR: [altool.6000012404C0] Failed to upload package.

2026-04-30 23:18:19.431 ERROR: [altool.6000012404C0] The provided entity includes an attribute with a value that has already been used (-19232) The bundle version must be higher than the previously uploaded version: ‘0’. (ID: 71a9077b-807a-476c-b8a2-04cb8357bc32)

   NSUnderlyingError : The provided entity includes an attribute with a value that has already been used (-19241) The bundle version must be higher than the previously uploaded version.
      status : 409
      detail : The bundle version must be higher than the previously uploaded version.
      source : 
         pointer : /data/attributes/cfBundleVersion
      id : 71a9077b-807a-476c-b8a2-04cb8357bc32
      code : ENTITY_ERROR.ATTRIBUTE.INVALID.DUPLICATE
      title : The provided entity includes an attribute with a value that has already been used
      meta : 
         previousBundleVersion : 0
   previousBundleVersion : 0
   iris-code : ENTITY_ERROR.ATTRIBUTE.INVALID.DUPLICATE

I used the CLI command xcrun altool --upload-app, and I was trying to upload a new version 1.0.26 build 0

Trying to upload what? A version of IPA (.ipa), Package (.pkg) or something else? It may help if you just show an image of the Xcode screen rather than explaining the situation in words.

Getting error that bundle version is not high enough (which isn't true)
 
 
Q