CFBundleVersion在Info.plist中上载错误 [英] CFBundleVersion in the Info.plist Upload Error
问题描述
"您上传的二进制文件无效. Info.plist文件的版本必须高于的版本. 以前上传的版本."
"The binary you uploaded was invalid. The key CFBundleVersion in the Info.plist file must contain a higher version than that of the previously uploaded version."
上传应用程序时出现此错误.
I’m getting this error when I come to upload my application.
我在iTunes Connect上将更新版本设置为1.2,并且还将.plist
文件更新为1.2.
I set the updated version to 1.2 on iTunes Connect and have also updated the .plist
file to 1.2.
我不明白为什么会出现此错误.任何帮助,将不胜感激.谢谢.
I don’t understand why I am getting this error. Any help would be appreciated. Thanks.
推荐答案
Apple的上传服务器中至少有1个已知错误,这些错误没有修复超过12个月.注意事项:
There's at least 1 known bug in Apple's upload server that they've not fixed for more than 12 months. Things to beware of:
- Apple删除版本号内的所有前导零;即,整个字符串"不被视为数字,而是点之间的位被视为单独的数字.例如苹果公司将"1.02"视为"1.2".因此,对于Apple而言,1.02大于1.1
- Apple有时会感到困惑",并且似乎会将您上传的应用程序与您先前上传的DIFFERENT应用程序的版本进行比较.很多人都发生过这种情况,而我本人也见过几次
- Apple应该比较"CFBundleVersion"(即捆绑版本"而不是捆绑版本字符串,简称");不要混在一起.
- 通常,唯一可行的解决方案是增加前导数字(例如,"2.4"中的"2"-将其增加到"3")
- 您上传的版本号与iTunes中显示的版本号无关-您可以在其中放置任何内容,这就是用户会看到的内容
- ...除外,如果您还报告应用程序中的实际"版本号,则用户将看到CFBundleVersion(通常取决于您的编码方式),而不是iTunes版本(我认为-不能)可以从您的应用程序内部访问)
这篇关于CFBundleVersion在Info.plist中上载错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!