Home Guides Interfaces Troubleshooting

Version Numbers

Xojo's version numbers include five fields, while  App Store requires a maximum of 3, so App Wrapper provides options for modifying the version information.

Example value: 4.5.0.2.220

app.propertyAuto TrimApple Format
version4.5.04.5
major4220
minor50
bug00
stage00
nonReleaseVersion00
CFBundleShortStringVersion4.5.04.5
CFBundleVersion4.5.0220

Custom number formats

Selecting "Custom" in the Version Format selector, enables two extra fields in the App Wrapper interface. These allow the app.version (string) and app.infobuildversion (version) to be remapped to a format of your choosing.

Xojo project valueSpecifier
Major Version$1
Minor Version$2
Bug Version$3
Stage Code$4
Non Release Version$5

There are two modifiers "!" and "w". "!" will remove the value if it is zero, while "w" will display a word, such as "Alpha", "Beta" or "Development".

example value: 4.5.0.2.220

app.property$1.$2.$3 / $1.$2.$3$1.$2.$3! $4w / $5$5 / $5
version4.5.04.5 Beta220
major4220220
minor500
bug000
stage000
nonReleaseVersion000
CFBundleShortStringVersion4.5.04.5 Beta220
CFBundleVersion4.5.0220220