An iOS build number like 24C5049f appears in every crash report and in iPhone settings. It almost always tells you whether the device runs a beta or a release. That matters when you triage crashes and support requests: a crash that only happens on an iOS beta often doesn't need a fix in your app, because Apple will fix it. Below is the number format, checked against every iOS 16-27 beta, and the bad news about the RC: you can't tell it apart by the number alone.
Short answer#
| What | Example | How to tell |
|---|---|---|
| Release | 24B156 | The number is in Apple's release list |
| Beta | 24C5049f | Four digits after the letter, the first one is 5, and a lowercase letter at the end |
| RC | 24B115 | No lowercase letter, but the number isn't in the release list either |
How the iOS build number is structured#
The scheme is <major><letter><number>[suffix]. In 24B156, 24 means iOS 27 (iOS 26 had 23), B is the letter of the minor-update branch, and 156 is the build number. The letter does not equal the minor version: 27.2 shipped on branch B, while the 27.3 betas are already 24C….
| Pattern | Example | What it is |
|---|---|---|
^\d+[A-Z]\d{1,4}$ | 24B156, 23H24 | Release or RC |
^\d+[A-Z]5\d{3}[a-z]$ | 24C5049f | Beta, Developer or Public |
^\d+[A-Z][89]\d{3,4}$ | 24A8428 | Release for specific new models |
^\d+[A-Z]6\d{3}$ | 24B6156 | Release twin: same version, same models |
^\d+[A-Z]\d{6,}[a-z]$ | 23D771330a | Background security update, the (a) version |
| other with a lowercase letter | 20A207a | Apple internal and factory builds |
I checked the beta pattern against the appledb database: all 297 iOS 16-27 betas match it, except betas of rapid security updates and simulator builds. Developer and Public betas can't be told apart by number, because they share the same numbers.
Why an RC can't be told from a release by number#
An RC has no suffix, so its number looks like a release number. Sometimes it is the release number: if Apple finds no bugs, the same build ships to everyone. More often a different build ships. Also from appledb data:
| RC on devices | Became the release | Replaced by another build | |
|---|---|---|---|
| iOS 16-27 | 57 | 29 | 28 |
| iOS 26-27 | 15 | 3 | 12 |
Examples of replacements: the 26.0 RC 23A340 shipped as the release 23A341, the 27.0 RC 24A435 as 24A437, and the 27.2 RC 24B115 as 24B119. Over the last two years the RC matched the release only 3 times out of 15. So "no suffix" doesn't mean "release": you have to check against a list.
Where to get the build number#
From the app itself. UIDevice.systemVersion and ProcessInfo.operatingSystemVersion return only 27.2.1, with no build. sysctl returns the build:
import Darwin
func osBuild() -> String? {
var size = 0
guard sysctlbyname("kern.osversion", nil, &size, nil, 0) == 0, size > 0 else { return nil }
var buffer = [UInt8](repeating: 0, count: size)
guard sysctlbyname("kern.osversion", &buffer, &size, nil, 0) == 0 else { return nil }
return String(decoding: buffer.prefix { $0 != 0 }, as: UTF8.self)
}This is a public API from <sys/sysctl.h>, and it isn't on the list of required-reason APIs for the privacy manifest. You can attach the string to a crash report or a support email.
From a Mac over a cable. The ideviceinfo utility from libimobiledevice reads the same data Finder shows:
ideviceinfo -k BuildVersion # 24B156
ideviceinfo -k ProductVersion # 27.2.1
ideviceinfo -k ProductType # iPhone17,1ProductType is useful when you cross-check: Apple's lists tie builds to models, and different models on the same version can have different numbers. This data isn't available in recovery mode or DFU.
Where to check releases#
| Source | Address | What it has | Limitations |
|---|---|---|---|
| Apple pmv | https://gdmf.apple.com/v2/pmv | Version, build, date, models | Current builds only, no betas or RCs. Undocumented, built for MDM |
| ipsw.me | https://api.ipsw.me/v4/device/iPhone17,1?type=ipsw | All releases for a model and the signed flag | No betas, RCs or 6xxx twins |
| appledb | https://api.appledb.dev/ios/iOS;24B115.json | Flags beta, rc, internal, released, models | Community project, no guarantees. No 6xxx twins |
Pmv removes old entries: when I looked at it on November 30, 2026, the oldest build was from July 27. If you build a check on it, keep your own list.
The whole algorithm#
- A lowercase letter at the end:
- four digits after the letter, the first one 5 → beta;
- six digits or more → background security update, check against pmv or appledb;
- otherwise → Apple internal build.
- No lowercase letter:
- the number is in the release list (your own pmv cache plus ipsw.me and appledb) → release;
- it isn't, and appledb says
rc: true→ RC; - it's nowhere → unknown, refresh the cache and check again.
It's better to do the check on a server than in the app: the lists change on release day, and the build number has already reached you in the report.
What the number can't tell you#
- Developer or Public beta. The numbers are the same.
- Whether beta updates are turned on. On a release iOS, the toggle in Settings isn't visible over a cable or from an app.
- An RC that matches the release. Once the release is out, it's the same build, so there's nothing to tell apart.
The reverse also happens: a crash that appears only on older iOS versions. I describe how I tracked down such a cause with Xcode Organizer in the article on dyld: Symbol not found at launch on iOS.



