Download

Version number and build number. How to manage Version and Build for the App Store

Two numbers in every iPhone app, one for people and one for App Store Connect, and the rules for how each of them grows.

In short

The version number (CFBundleShortVersionString, the Version field in Xcode) is three period-separated integers that customers see, such as 2.1.0. The build number (CFBundleVersion, the Build field) is one to three integers, and every upload to App Store Connect needs a version and build pair that hasn't been used (Apple's documentation, checked October 17, 2026).

Two numbers and why there are two

The version tells people which release this is. It follows major.minor.patch, so it shows whether an update is big or a small fix. The build is for the system. You can build and upload the same version 2.1.0 ten times while chasing a bug, and each attempt gets its own build number, such as 2.1.0 (37) and 2.1.0 (38).

App Store Connect links an uploaded build to the app through the bundle ID, to the version through the version number, and identifies the build itself by the build number. The numbers matter after release too. Xcode uses them to match crash reports and dSYM files to builds from TestFlight and the App Store.

Where the numbers live in Xcode and App Store Connect

In Xcode, open the project, select the app target, then the General tab and the Identity section. The Version field writes CFBundleShortVersionString, and the Build field writes CFBundleVersion into the build's Info.plist.

In App Store Connect you enter the version number when you create a version, under Apps › your app › + next to the platform › New Version. Uploaded builds appear on the TestFlight tab, grouped by version number, and the disclosure triangle next to a version lists its builds. That's the easiest place to check your latest build number. If Xcode Cloud makes your builds, the next number is set in Xcode Cloud › Settings › Build Number, and only the Admin and App Manager roles can change it.

Apple's format and rules

ItemVersion (CFBundleShortVersionString)Build (CFBundleVersion)
Who sees itcustomersthe system and App Store Connect
Formatexactly three period-separated integers, such as 10.14.1one to three period-separated integers
Characters0–9 and periods only0–9 and periods only
Short formnomissing integers count as zeros, 10 means 10.0.0
Extra integersnothe fourth and beyond are ignored
When to raise itwhen you create a new version in App Store Connectbefore every archive you upload
Repeats on iOSa Version and Build pair can't repeat, a new version may restart Build
Repeats on MacBuild always goes up, even across versions
Xcode CloudBuild is an integer starting at 1, no hashes or dates

Per Apple's documentation (CFBundleShortVersionString, CFBundleVersion, Xcode Cloud build numbers), Xcode Help and App Store Connect Help, checked October 17, 2026.

When to change Version and when to change BuildWhen to change the version number and the build number, per Xcode Help and App Store Connect Help as of October 17, 2026, six steps. 1. The Version and Build fields in Xcode, the General tab, the Identity section. 2. Raise the build number before every archive, using digits and periods only. 3. Upload from Xcode or Transporter, and App Store Connect identifies the build by its version and build number pair. 4. If the upload ends as Failed in the Build Uploads table, that build number can be reused. 5. For a new version in App Store Connect, raise the version number above the previous one. 6. For Mac apps the build number must keep growing across versions too.When to change Version and when to change BuildThe order per Xcode Help and App Store Connect Help as of October 17, 20261Fields in XcodeGeneral › IdentityVersion and Build2Build plus onebefore every archivedigits and periods only3UploadXcode or Transportera Version and Build pair4FailedBuild Uploadsthe number can be reused5New version+ in App Store ConnectVersion above the last one6Macany versionBuild only goes up
Build goes up with every upload, Version with every new version in App Store Connect, and on the Mac the build number is never reset. Per Apple's documentation, October 17, 2026.

How to manage the numbers, step by step

  1. Before the first archive, set Version to 1.0.0 and Build to 1. Apple suggests setting both early, since crash reports are matched by them later.
  2. Before every archive you upload to App Store Connect, raise Build by one. Keeping it a single integer is simplest, so you never have to think about the period rules.
  3. Upload the build. If Build Uploads shows Failed, fix the error and upload again with the same number.
  4. For an update, create a new version in App Store Connect and raise Version in Xcode to match, for example 2.1.0 after 2.0.3.
  5. Decide whether to reset Build. On iOS you may start again at 1 for each new version, but a running counter is easier to follow, and on the Mac it's mandatory.

What happens if you repeat a number

If the pair is already taken, the upload won't go through. In a June 2022 thread on Apple's developer forums, a developer posted the error, ITMS-90189 "Redundant Binary Upload. You've already uploaded a build with build number '18445' for version number '3.66.0'." Apple's message then tells you to increment the build string before uploading. The fix is one action, raise Build, archive again and upload.

You can't roll a released version back either. As of October 17, 2026, App Store Connect Help says plainly that reverting to a previous version on the App Store isn't possible, you need a new version with a new number. What happens to a build after upload and what its statuses mean is covered on the build processing page.

Common mistakes

  • Letters in the number. Strings like 2.1.0-rc or 37a don't work, both fields accept digits and periods only.
  • Four integers in Build. The system reads 2.1.0.5 as 2.1.0, and two builds end up with the same number.
  • A date or commit hash in Xcode Cloud. Build numbers there are plain integers, 42 or 420000, and Xcode Cloud assigns them itself.
  • Resetting Build in a Mac app. On iOS, 1.2.2 (1) after 1.2.1 (42) is fine, but Apple won't accept it for the Mac.
  • Version in Xcode doesn't match App Store Connect. A build attaches to a version by its number, and with a mismatch it's missing from the version you need.

The Appto agent writes the app in a regular Xcode project and prepares the build, and in App Store Connect Appto runs the final checklist and asks for your yes before each write. You can check the build yourself on your iPhone or through TestFlight, more on the code page.

Questions

What is the difference between CFBundleVersion and CFBundleShortVersionString?

CFBundleShortVersionString is the version number for people, exactly three integers. CFBundleVersion is the build number for the system, one to three integers, raised before every upload.

Can I upload a build with the same build number?

Only if the earlier upload with that number ended as Failed. Otherwise App Store Connect returns the Redundant Binary Upload error.

Should I reset the build number for a new version?

On iOS you can, since App Store Connect only needs a new version and build pair. For Mac apps the build number must keep growing across versions.

How do I find the latest build number in App Store Connect?

Open the app's TestFlight tab. Builds are grouped by version number, and the triangle next to a version shows all of its builds.

Where do I change the version number in Xcode?

App target › General › Identity, in the Version field. The build number is right there in the Build field.

Build your own app in Appto

Appto checks the niche on fresh App Store data, designs the screens, writes the code, builds the App Store page and submits to Apple from your account or shows you what to press in App Store Connect. Runs on your own Claude Code or Codex.

Download for Mac