Skip to content

Conversation

@Becca-Saka
Copy link
Contributor

Updating documentation for this PR -> codemagic-ci-cd/cli-tools#476

### The bundle identifier cannot be changed from the current value, 'xxx'.

###### Description
When building code signing an ios app, you may encounter the following error in the publishing step:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When building code signing an ios app, you may encounter the following error in the publishing step:
When code signing your iOS app, you may encounter the following error in the publishing step:

This bundle is invalid. The bundle identifier cannot be changed from the current value, 'xxx'. If you want to change your bundle identifier, you will need to create a new application in App Store Connect

###### Cause
This is an known issue which comes with the recent versions of [altool](https://github.com/fastlane/fastlane/issues/29698#issuecomment-3329783816)(shipped with Xcode 26) which has introduced a bug that can cause binary uploads to fail when multiple apps share a similar bundle ID prefix (e.g., com.mycompany.app and com.mycompany.app.test)., it's related to this bug in new
Copy link
Collaborator

@icarusdust icarusdust Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This is an known issue which comes with the recent versions of [altool](https://github.com/fastlane/fastlane/issues/29698#issuecomment-3329783816)(shipped with Xcode 26) which has introduced a bug that can cause binary uploads to fail when multiple apps share a similar bundle ID prefix (e.g., com.mycompany.app and com.mycompany.app.test)., it's related to this bug in new
This is a known issue that comes with the recently updated version of [altool](https://github.com/fastlane/fastlane/issues/29698#issuecomment-3329783816) shipped with Xcode 26.0. It has introduced a bug that can cause binary uploads to fail when multiple apps share a similar bundle ID prefix (e.g., com.mycompany.app and com.mycompany.app.test) in App Store Connect.



###### Solution
The known and effective workaround is to explicitly force altool to use the correct app ID by passing the argument: ```--apple-id <app-apple-id>```. We’ve added support for an optional ```--altool-additional-arguments``` option to the app-store-connect publish action. This allows you to pass any additional CLI arguments directly to altool. You can also set this via the environment variable: ```APP_STORE_CONNECT_ALTOOL_ADDITIONAL_ARGUMENTS```. Your app's Apple ID can be found in AppStoreConnect > General > App Information > Apple ID
Copy link
Collaborator

@icarusdust icarusdust Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where to use the flag ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this section is unclear

@icarusdust
Copy link
Collaborator

icarusdust commented Nov 19, 2025

let's close this PR @Becca-Saka, Priit applied a workaround from our end, and it does not require anything from the user side

@Becca-Saka Becca-Saka closed this Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants