buildNumber property

String? buildNumber
final

The CFBundleVersion of the build attached to this version, or null when Apple named none.

This answers "is what is live the thing I think is live", which versionString cannot: two builds of 1.4.0 are the same version and different binaries.

A string for the reason AppStoreBuild.buildNumber is one — Apple accepts a dotted CFBundleVersion — and buildNumberAsInt is the form to compare.

Null is one answer covering two causes, and this package cannot tell them apart. Apple names no build for a version in PREPARE_FOR_SUBMISSION, which is honest; and a request that failed to carry include=build would also produce null here, which is not. The second was measured not to happen against a live account — without the include, relationships.build has no data key at all — but the first has never been observed, because the account it was measured against held six versions and every one was READY_FOR_SALE. So a null is reported as a null rather than as a diagnosis, and docs/design/rollout-state.md records what would settle it: one PREPARE_FOR_SUBMISSION version, at this repository's next release.

Implementation

final String? buildNumber;