3

I have the following in the config.xml of my ionic app:

<widget android-versionCode="1630" id="com.boardline" ios-CFBundleVersion="1630" version="1.63" versionCode="1630" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

but Application Loader gives me the following warning:

The value for the key CFBundleShortVersionString [1.63] in the info.plist must contain a higher version number...

whereas I explicitly put ios-CFBundleVersion="1630"...

Can you help me figure this out ? I need the ios CFBundle Version to be 1630 and the ionic app version to be 1.63.

Thanks

Louis
  • 2,548
  • 10
  • 63
  • 120

1 Answers1

1

Maybe this

// assuming version = MAJOR.MINOR.PATCH-whatever
versionCode = PATCH + MINOR * 100 + MAJOR * 10000
CFBundleVersion = "MAJOR.MINOR.PATCH"

Plus this

this.appVersion.getVersionCode();

Could solve your problem (version code 1630 is not CFBundleVersion 1.63) Otherwise, refer to this other question.

Hope it helps.

Community
  • 1
  • 1
Pablo Albaladejo
  • 2,950
  • 1
  • 17
  • 21