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.property | Auto Trim | Apple Format |
---|---|---|
version | 4.5.0 | 4.5 |
major | 4 | 220 |
minor | 5 | 0 |
bug | 0 | 0 |
stage | 0 | 0 |
nonReleaseVersion | 0 | 0 |
CFBundleShortStringVersion | 4.5.0 | 4.5 |
CFBundleVersion | 4.5.0 | 220 |
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 value | Specifier |
---|---|
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 |
---|---|---|---|
version | 4.5.0 | 4.5 Beta | 220 |
major | 4 | 220 | 220 |
minor | 5 | 0 | 0 |
bug | 0 | 0 | 0 |
stage | 0 | 0 | 0 |
nonReleaseVersion | 0 | 0 | 0 |
CFBundleShortStringVersion | 4.5.0 | 4.5 Beta | 220 |
CFBundleVersion | 4.5.0 | 220 | 220 |