What are the maximum allowed numbers when versioning an app on the AppStore?

We were working on automating our versioning number via Unity's cloud-building systems. For this purpose we tried to find out what the accepted ceiling values for major.minor.feature numbers are. (In other words the numbers that go as vX.Y.Z that indicate your app version on the AppStore.)

Is there anyone who can help us find an answer to this? Is this info somewhere on the documentation and if so could I kindly ask for a link?

Much appreciate your time, Tunc

The API deals with 3 numbers for version:

  • Major
  • Minor
  • Patch,

hence 2.8.1 for instance.

Here is the best spec I could find:

Version Components

  • majorVersion

The major release number, such as 10 in version 10.9.3.

  • minorVersion

The minor release number, such as 9 in version 10.9.3.

  • patchVersion

The update release number, such as 3 in version 10.9.3.

 the max numbers for these version numbers.

They are all declared as Int (NSInteger) , so the max should be maxInt.

See in doc:

Discussion

When building 32-bit applications, NSInteger is a 32-bit integer. A 64-bit application treats NSInteger as a 64-bit integer.

So you are safe to have 2.51.117 for instance.

What are the maximum allowed numbers when versioning an app on the AppStore?
 
 
Q