How to ship an update to an app that's already on the stores
The bundle ID is your listing's primary key
Your app's identity on both stores is its bundle ID: com.acme.recipes on Apple, the applicationId on Google. The store uses it to decide which app you are updating.
This is the failure worth understanding, because it does not look like a failure. Upload a build with a different bundle ID and nothing errors. The store treats it as a brand-new app. Your reviews, your ratings, your install base and your search ranking all stay behind on the old listing, and you now maintain two. Recovering means asking users to migrate manually.
So for an update, the bundle ID is never a choice. It has to be read out of the app you already shipped.
Version and build number are two different things
People conflate these constantly, and the stores treat them very differently.
Version (versionName on Android, CFBundleShortVersionString / MARKETING_VERSION on iOS) is the number humans see: 2.3.1. You can repeat it across uploads.
Build number (versionCode on Android, CFBundleVersion / CURRENT_PROJECT_VERSION on iOS) is the integer the store counts with. It must increase on every single upload, including one that replaces a build rejected in review.
Reusing a build number is the single most common update rejection. Google returns "Version code N has already been used"; App Store Connect returns "The bundle version must be higher than the previously uploaded version". Both arrive after the upload, which on iOS is after a full archive and export.
Corenna increments the build number automatically after each successful build, so the next update is already valid before you start it.
You must sign with the original key, forever
An update has to be signed by the same identity as the app it replaces. Android checks the signature against the installed app; a different key produces "Your Android App Bundle is signed with the wrong key", and there is no appeal. If you lost the original upload key and are not enrolled in Play App Signing, that listing cannot be updated at all.
If you are enrolled in Play App Signing, Google holds the app signing key and you only need your upload key, which can be reset through support. That is the single best reason to enrol.
On iOS the pain is different and arrives on a timer: provisioning profiles and distribution certificates each expire after a year. Nothing in your code changed; Apple's clock moved. The first you hear of it is a build failing on an app you have not touched in months. See our iOS code signing guide for what each artefact does.
When your platforms disagree with each other
Capacitor projects can end up with three different declarations of the same bundle ID: appId in capacitor.config, applicationId in android/app/build.gradle, and PRODUCT_BUNDLE_IDENTIFIER in the Xcode project.
They are supposed to match. When they drift, usually because someone edited the native project directly, cap sync rewrites the native files from the Capacitor config on the next build. The practical effect is that one platform keeps updating its real listing while the other silently forks into a new one.
Corenna's free repo check reads all three and tells you when they disagree, before a build makes the decision for you.
A repeatable update, start to finish
- Merge your change to the branch you ship from.
- Confirm the bundle ID still matches your live listing, not a new one someone generated.
- Bump the version if users should see a new number.
- Increase the build number. Always. Even if the last upload was rejected in review.
- Build and sign with the original key.
- Upload, and keep the archive so a crash report can be symbolicated later.
Steps 2 through 5 are where updates fail, and none of them are about your code. Corenna does all four for you: it reads the bundle ID from your repo, carries your version forward, increments the build number after every successful build, and signs with the key already attached to the project. On Google Play it does step 6 as well: the signed .aab goes straight to the track you pick, with release notes, even from your phone. If the app was live before Corenna, set the project's next build number above your latest release once and it counts up from there.
Why this gets harder the longer you leave it
An app you update monthly rarely breaks. An app you update twice a year breaks almost every time: the profile expired, a dependency dropped support for your minimum OS, the store raised its target-SDK floor, and you no longer remember which keystore was the real one.
That is the argument for making updates cheap rather than rare. The cost of an update scales with the time since the last one, so the fix is frequency, and frequency needs the mechanics to be boring.