Fix: App Store Connect Version and Build Number Validation Errors

Fix: App Store Connect Version and Build Number Validation Errors
Quick answer: Both CFBundleShortVersionString (Version) and CFBundleVersion (Build) must be incremented for each App Store release. The Version must be higher than the previous release, and the Build must be higher than the last build for that same version. You cannot reuse Version numbers, but you can reuse Build numbers across different version trains (except for macOS apps).

Why this happens

Apple enforces strict versioning rules through App Store Connect to ensure every uploaded binary is uniquely identifiable. When you upload a new build, the system validates two values from your Info.plist:

  • CFBundleShortVersionString (marketing version, shown to users)
  • CFBundleVersion (build number, used internally by the store)

The validation requires that the pair (Version, Build) is unique across all submissions. The Version must follow ascending sequential order (semantic versioning), and the Build must also ascend within each version train. If either rule is violated, the upload is rejected with an error such as:

ERROR ITMS-90062: This bundle is invalid. The value for key CFBundleShortVersionString [1.0.0] in the Info.plist file must contain a higher version than that of the previously approved version [1.0.0].

or

ERROR ITMS-90189: Redundant Binary Upload. There already exists a binary upload with build version '1' for train '1.0.0'.

These rules exist so TestFlight and the App Store can reliably distinguish every build you distribute.

How to fix it

1. Increment the marketing version for each new release

Open your project target in Xcode, go to the General tab, and update the Version field. Follow semantic versioning (MAJOR.MINOR.PATCH):

  • Patch (1.0.0 → 1.0.1): bug fixes
  • Minor (1.0.0 → 1.1.0): new features, backward compatible
  • Major (1.0.0 → 2.0.0): breaking changes

This value becomes the CFBundleShortVersionString in the built Info.plist. It must be numerically greater than the version currently live on the App Store.

2. Increment the build number for every upload

In the same General tab, increase the Build field before each archive. This becomes CFBundleVersion. The build number must be higher than the last build you uploaded for that same version train.

Valid sequence example:

(1.0.0, 1) → (1.0.0, 2) → (1.0.0, 3)
→ (1.0.1, 1) → (1.0.1, 2)

Note: You can reset the build number to 1 when you bump the marketing version (iOS/tvOS/watchOS only). For macOS apps, build numbers must be globally unique across all versions.

3. Automate with a build script (optional but recommended)

Add a Run Script phase in Build Phases (before Copy Bundle Resources) to auto-increment the build number on every archive:

# Auto-increment CFBundleVersion on archive
if [ "$CONFIGURATION" = "Release" ]; then
  buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$INFOPLIST_FILE")
  buildNumber=$(($buildNumber + 1))
  /usr/libexec/PlistBuddy -c "Set CFBundleVersion $buildNumber" "$INFOPLIST_FILE"
  echo "Incremented build number to $buildNumber"
fi

This ensures you never accidentally upload a duplicate build number.

4. Verify before uploading

After archiving, open the Organizer (Window → Organizer), select your archive, and confirm the Version and Build shown in the sidebar match your intentions. You can also inspect the generated Info.plist inside the .xcarchive:

/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "$ARCHIVE_PATH/Products/Applications/YourApp.app/Info.plist"
/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$ARCHIVE_PATH/Products/Applications/YourApp.app/Info.plist"

How to prevent it

  • Treat the marketing version as a contract with users — only bump it when you ship a user-visible release.
  • Treat the build number as an internal counter — increment it on every archive you intend to upload.
  • Use a CI/CD pipeline (GitHub Actions, Bitrise, Fastlane) that automatically increments the build number and tags the repo.
  • Keep a CHANGELOG.md or release notes file tied to each marketing version so the team agrees on when to bump MAJOR/MINOR/PATCH.
  • For macOS apps, maintain a single monotonically increasing build number across all versions.

FAQ

Can I reuse a build number if I deleted the previous build from TestFlight?

No. App Store Connect retains the build number history even after you remove a build from TestFlight. The (Version, Build) pair must remain unique forever for that app record.

What happens if I upload the same version but a lower build number?

The upload will be rejected with ERROR ITMS-90189 (Redundant Binary Upload) or a similar validation error stating the build number must be greater than the previous one for that version train.

Do I need to increment the version for a TestFlight-only build?

No. You can upload multiple builds with the same marketing version (e.g., 1.0.0) as long as each has a higher build number (1, 2, 3…). Only when you promote a build to the App Store does that version become “live” and require a new marketing version for the next release.

Sources & credits

Parts of this guide are adapted from content licensed under CC BY-SA 4.0; this article is shared under the same license.