Version and build number checker
Type your new version and build number below. Add the last ones you shipped to check that they go up.
Try an example:
What it does
Every Mac app carries two numbers in its Info.plist. CFBundleShortVersionString is the version people see, like 1.4.2. CFBundleVersion is the build number, which macOS, App Store Connect and Sparkle use to tell one build from the next. Type both, and if you like the last ones you shipped, and the tool checks them against Apple's rules as you type. It says what is wrong, suggests the next numbers, and writes the lines for your Info.plist, your Xcode build settings, agvtool and a Sparkle appcast. Nothing is sent anywhere.
Apple's rules, in short
| Rule | Version number | Build number |
|---|---|---|
| Info.plist key | CFBundleShortVersionString | CFBundleVersion |
| Format | Three numbers, like 1.4.2 | One to three numbers, like 58 or 1.4.2 |
| Allowed characters | 0 to 9 and periods | 0 to 9 and periods |
| Missing numbers | Use all three | Read as zero, so 10 is 10.0.0 |
| More than three | Not allowed | Ignored by macOS |
| On the Mac | Goes up with each release | Goes up with every build you ship, across all versions |
From Apple's pages on CFBundleShortVersionString and CFBundleVersion, and Preparing your app for distribution, read November 23, 2026.
Why can't my Mac build number start at 1 again?
Because the Mac is different from iPhone here. Apple says build strings for Mac apps must go up across all versions of your app, while apps for other platforms can start back at 1 for a new version. So if version 1.9.3 was build 212, version 2.0.0 needs build 213 or higher, not 1. A plain counter that only ever goes up, like 212, 213, 214, is the simplest way to never get this wrong.
How Sparkle uses these numbers
If you sell outside the Mac App Store and update with Sparkle, the appcast's sparkle:version is compared with the CFBundleVersion of the copy people have. A build number that does not go up means people are never offered the update. sparkle:shortVersionString is the version shown to people. Check a whole appcast with the Sparkle appcast checker.
Read the numbers from a built app
defaults read /Applications/YourApp.app/Contents/Info CFBundleShortVersionString defaults read /Applications/YourApp.app/Contents/Info CFBundleVersion
To read the rest of the file in plain words, paste it into the Info.plist explainer. In Xcode, both numbers are on the target's General tab under Identity, and they are stored as the MARKETING_VERSION and CURRENT_PROJECT_VERSION build settings. Xcode can also set the build number for you when you upload from the Organizer.
What each result means
| Mark | What it means |
|---|---|
| Fix | App Store Connect or Sparkle will not take it, such as letters in the version or a build number that does not go up. |
| Look | It works, but it may not do what you expect, such as a fourth number macOS ignores. |
| OK | It follows Apple's rules. |
| Note | Something to know, like leading zeros being dropped. |
Questions
What is the difference between CFBundleVersion and CFBundleShortVersionString?
CFBundleShortVersionString is the version people see, like 1.4.2. CFBundleVersion is the build number that macOS, App Store Connect and Sparkle use to tell builds apart. In Xcode they are the Version and Build fields.
What format does CFBundleVersion need?
One to three numbers with periods between them, using only 0 to 9 and periods, like 58 or 1.4.2. Missing numbers are read as zero, and macOS ignores anything after the third number.
Can a Mac app build number go back to 1 for a new version?
No. Apple says build strings for Mac apps must go up across all versions of your app. Apps for other platforms can start again at 1 for a new version.
Can I put beta in my version number?
No. Apple allows only numbers and periods in both keys. Say it is a beta in your release notes or TestFlight instead.
Is what I type sent anywhere?
No. Everything is checked on this page, and nothing is sent or stored.