问题描述
我在尝试提交我的应用时收到此警告:
I'm getting this warning when trying to submit my app:
警告 ITMS-9000:此捆绑包无效.密钥的值CFBundleVersion [3.3.9.2014.08.20] int info.plist 文件必须是一个最多三个非负整数的句点分隔列表."
这是我第一次看到这种版本控制格式的提交很多.
This is the first time I'm seeing this after a lot of submissions with that versioning format.
CFBundleVersion 有什么变化吗?
Is something changed regarding CFBundleVersion ?
我猜三个并不总是存在?还是苹果刚刚开始警告我们?
I'm guessing the three wasn't always there? or apple just started warning us about it?
来自 Apple 文档:
CFBundleVersion
CFBundleVersion (String - iOS, OS X) 指定构建版本包的编号,用于标识迭代(已发布或未发布)的捆绑包.构建版本号应该是一个字符串由三个非负的、以句点分隔的整数组成,其中第一个大于零的整数.字符串应该只包含数字 (0-9) 和句点 (.) 字符.前导零被截断来自每个整数,将被忽略(即 1.02.3 等价于到 1.2.3).此键不可本地化.
CFBundleVersion (String - iOS, OS X) specifies the build version number of the bundle, which identifies an iteration (released or unreleased) of the bundle. The build version number should be a string comprised of three non-negative, period-separated integers with the first integer being greater than zero. The string should only contain numeric (0-9) and period (.) characters. Leading zeros are truncated from each integer and will be ignored (that is, 1.02.3 is equivalent to 1.2.3). This key is not localizable.
显然 CFBundleVersion 已更改,如您所见 此处.很遗憾,我需要在 WayBackMachine 中搜索类似的内容,而 Apple 的文档修订历史"却对此一无所知.
Apparently CFBundleVersion was changed as you can see here.It's a shame that I need to search WayBackMachine for something like that while Apple's "Document Revision History" says nothing about it.
推荐答案
显然 CFBundleVersion 已更改,如您所见 这里.很遗憾,我需要在 WayBackMachine 中搜索类似的内容,而 Apple 的文档修订历史"却对此一无所知.
Apparently CFBundleVersion was changed as you can see here.It's a shame that I need to search WayBackMachine for something like that while Apple's "Document Revision History" says nothing about it.
这篇关于CFBundleVersion 必须是最多三个非负整数的句点分隔列表(警告 ITMS-9000)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!