我在我的离子应用程序的config.xml中有以下内容:
<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">
但是Application Loader给了我以下警告:
The value for the key CFBundleShortVersionString [1.63] in the info.plist must contain a higher version number...
而我明确地提出ios-CFBundleVersion="1630"
...
由于
答案 0 :(得分:1)
也许this
// assuming version = MAJOR.MINOR.PATCH-whatever
versionCode = PATCH + MINOR * 100 + MAJOR * 10000
CFBundleVersion = "MAJOR.MINOR.PATCH"
加this
this.appVersion.getVersionCode();
可以解决您的问题(版本代码1630不是CFBundleVersion 1.63) 否则,请参阅this other question。
希望它有所帮助。