Info.plist CFBundleVersion

Sandboxing an app via Xojo, then building the pkg using terminal

productbuild \
--component appName /Applications \
--sign "3rd Party Mac Developer Installer: Ben...(TEAMID)" appName

When submitting via Transporter, an error is generated indicating that apple only allows a max of three dot separated digits in this entry in the Info.plist file

<key>CFBundleVersion</key>
   <string>3.1.0.3.0</string>

I’ve tried setting the Stage Code to Final, Turning off Auto Increment Version, removing Non Release Version (it auto sets to zero), renaming the project to only include three digits in the name, and adding the value manually via the Property List Edit button. The output is always the same with five dot separated digits. Not sure where the extra ‘.3.0’ is coming from.

It used to be documented somewhere but I don’t know where off the top of my head.

The 3 is the stage code enumeration as an integer. The 0 is the NonReleaseVersion which you should really leave auto increment version on.

You need to adjust this value in your packing procedure or use a tool like AppWrapper that does. The only time the IDE will use an Apple approved version number is if you deploy to the app store directly from the IDE using the new feature for that.