问题描述
这三个版本/构建字段的iOS应用程序是:
-
版本的 CFBundleShortVersionString (字符串 - iOS设备,Mac OS X)指定了包,用于标识应用程序的发布迭代的发行版本号。该版本的版本号是由三个句点分隔的整数的字符串。
-
生成 CFBundleVersion (字符串 - iOS设备,Mac OS X)指定了包,用于标识一个迭代束(或发行未发行)的版本版本号。内部版本号应该是由三个非负,期间隔开的整数。第一个整数大于零的字符串。该字符串应该只包含数字(0-9)和句号(。)字符。前导零从每个整数截断,将被忽略(即,1.02.3相当于1.2.3)。这关键是不要本地化。
-
iTunes Connect的版本号:您在创建iTunes Connect中的应用程序的新版本时指定版本号
。
我的问题是:
哪个版本/内部版本号为要求递增当应用程序的新版本上传到App Store?
既可以 CFBundleShortVersionString
或 CFBundleVersion
保持相同的应用程序更新之间?
苹果源或确切的错误消息iTunesConnect显示在上传无效的版本/内部版本号。加分
的Android /谷歌玩注意:
促使这个问题的讨论是,在谷歌Android应用程序的公开的版本Play商店做的不可以需要递增,是的没有办法的验证。在安卓的versionName
可以保持相同的版本之间,升级,降级或任何随机字符串,而不是这似乎是一个有效的版号的东西。
Whereas the android:versionCode
is enforced to be an incrementing-on-release integer.
Both CFBundleVersion
and CFBundleShortVersionString
MUST be incremented when releasing a new version to the App Store.
Additionally, one of the strings must must match the version specified in iTunes Connect.
This question includes the above screenshot of the Xcode Organizer's Validator refusing to validate the app when the CFBundleVersion
and CFBundleShortVersionString
have not been incremented.
This bundle is invalid. The value for key
CFBundleVersion
[1.0] in the Info.plist file must contain a higher version than that of the previously uploaded version [1.134].This bundle is invalid. The value for key
CFBundleShortVersionString
[1.0] in the Info.plist file must contain a higher version than that of the previously uploaded version [1.134].
The validator also throws an error proving that one of the strings must match the version of the app created on iTunes Connect.
- Version Mismatch. Neither CFBundleVersion ['1.0'] nor CFBundleShortVersionString ['1.0'] in the Info.plist match the version of the app set in iTunes Connect ['1.4'].
这篇关于其中iOS应用版本/内部版本号(S),必须在App Store的发布递增?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!