Skip to main content
stolennickname
Inspiring
June 17, 2015
Answered

versionLabel not working for AIR desktop

  • June 17, 2015
  • 1 reply
  • 1733 views

In AIR 18, it appears that the versionLabel application descriptor element is not properly mapping to CFBundleShortVersionString for AIR captive runtime OS X apps. Instead, versionNumber is getting listed as the release version number. This is apparent by looking at the Version string reported in Get Info for the application or selecting About This Application menubar selection.

This is the opposite of AIR for iOS, where versionLabel does correctly map to CFBundleVersion and versionLabel maps to CFBundleShortVersionString. This is quite confusing.

Are there guidelines on how to properly set the versionLabel and versionNumber application descriptor elements for AIR 18 desktop apps?

This topic has been closed for replies.
Correct answer stolennickname

Thanks for your answer.

Here's what I extrapolate from this:

- Use versionLabel to set the release version for iOS and Android publishing, switch to using versionNumber when publishing to desktop bundle.

- CFBundleVersion cannot be set for desktop AIR apps. This can result in submission issues and slowdowns when submitting to App Store (such as described in How do I set the CFBundleVersion value of my App in Flex).

1 reply

Community Manager
June 18, 2015

Hi Stephen,

There is no change for Desktop apps in AIR 18. It continues to function as is.

versionLabel is now honored for AIR on iOS. For desktop application versionNumber maps to CFBundleShortVersionString.

Let us know if you are facing issues in this.

Thanks,

Krati

stolennickname
stolennicknameAuthorCorrect answer
Inspiring
June 18, 2015

Thanks for your answer.

Here's what I extrapolate from this:

- Use versionLabel to set the release version for iOS and Android publishing, switch to using versionNumber when publishing to desktop bundle.

- CFBundleVersion cannot be set for desktop AIR apps. This can result in submission issues and slowdowns when submitting to App Store (such as described in How do I set the CFBundleVersion value of my App in Flex).