eas submit to iOS App Store rejected with Invalid build number error

Managed eas project with latest SDK and CLI

Trying to submit a build to TestFlight in AppStore Connect, but the eas submit command is failing with the error Invalid build number:

The app.json information is as follows:

“ios”: {
“supportsTablet”: true,
“bundleIdentifier”: “”,
“buildNumber”: “1.0.28”,
“usesIcloudStorage”: true,

The previous build (1.0.27) was accepted. Build 1.0.28 has never been submitted before.

What would cause this error to happen, and how can I fix it?

Thanks

looking at your builds, there seems to be an inconsistency in how you are using build number:

image

image

i would personally suggest enabling remote version source for builds so you never have to think about the build number again. App version management - Expo Documentation

1 Like

It looks like the Version value is invalid for iOS. Thanks for the suggestion to enable remote version source for builds. We will definitely do that.

1 Like

thanks for the update! i made a task for us to validate the CFBundleShortVersionString when running eas build

1 Like