这个问题也轮到我遇到了。google很多次还是没有解决。今天先总结一下。
问题的主要根源貌似是苹果的版本管理存在一个bug.
以下信息来自stackflow.
1.apple会删除版本中数字先头的0。例如:1.02,实际上会当作1.2来处理。所以从1.02升级到1.1时就会出错。应为1.1<1.02(1.2)
2.apple有时候会很晕糊,会把你当前上传的版本,和你其他的app的版本作比较。这显然相当混乱。
3.apple或许只会用CFBundleVersion的版本来进行比较,Bundle versions string, short这个不要混淆了。
4.忽略
5.你上传的版本号和你在itunes里面看到的版本或许一点联系都没有。你可以任意更改itunes中的版本号来给你的用户看。
(具体想看上传的app的版本,可以到ITunes Connect > Manage Your Applications > Application X (your application in question) > View Details (bottom left corner) > Binary Details)
6.忽略
-----------------------------------------------------------------------------------------------------------------------------------------------
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:
1. Apple deletes any leading zeroes inside the version number; i.e. it is NOT treated as a number. e.g. "1.02" is treated by Apple as "1.2". So, for Apple, 1.02 is GREATER THAN 1.1
2. Apple sometimes gets "confused" and seems to compare your uploaded-app to the version of a DIFFERENT app you've previously uploaded. It's happened to a lot of people, and I've seen it myself a few times
3. Apple is supposed to be comparing the "CFBundleVersion" (i.e. "Bundle version" not the "Bundle versions string, short"); don't get mixed up.
4. Frequently, the only viable solution is to bump the front number (e.g. the "2" in "2.4" -- increase it to "3")
5. The version number you upload is unrelated to the version number that appears in iTunes - you can put anything you want there, and that's what your users will see
6. ...except, if you also report the "actual" version number inside your app, the user will see the CFBundleVersion (usually, depends how you code it), rather than the iTunes version (which - I think - cannot be accessed from inside your app)
http://stackoverflow.com/questions/4933093/cfbundleversion-in-the-info-plist-upload-error
分享到:
相关推荐
The value for key CFBundleShortVersionString in the Info.plist file must contain a higher version than that of the previously approved version". 感谢的最初想法!安装在Podfile的末尾添加此脚本。 post_...
The value for key CFBundleShortVersionString [1.2] in the Info.plist file must contain a higher version than that of the previously approved version [1.15] 明明1.2的版本号要大于1.15,怎么还会出现错误...
Info.plist
第三方jar包解析苹果应用IPA包中的Info.plist信息
安装方法:找到xcode应用程序,右击显示包内容,找到路径:/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 将下载到的三个文件夹都放进该目录,重启xcode即可。
使用java获取ipa包中info.plist,详见http://blog.csdn.net/akwolf/article/details/7197311
我们用程序解析ipa文件时,里面info.plist与icon图标都是加密过的,这两个jar包可以用java程序实现文件解密.下载后里面有例子程序
swfit之app相关信息,解析info.plist文件,效果图如下, 原文链接:http://www.chinabooks99.top/index.php/2016/07/19/swfit3-0-app-of-relevant-information-parsing-the-info-the-file/
用于读取ios后缀ipa文件下的info.plist,并生成可视化文档界面的jar包工具。
配置文件config-sample.plist config-sample.plist config-sample.plist
NBOrganizers.plist
The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data. 和 This app has crashed because it attempted to access...
org.chameleon.Boot.plist IntelHD4000已经驱动好了的文件
ats-toggle是一个简单的命令行工具,用于检查和切换iOS项目的Info.plist文件中的App Transport Security配置。 安装 在您的项目中安装该软件包。 yarn add ats-toggle 用法 显示给定Info.plist文件的当前状态 yarn ...
详细注射 config.plist,不能直接导入使用,请根据个人电脑配置修改。
Go 中的 IPA 解析器 - 它解析 ios IPA (Zip) 中的 Info.plist 文件并返回一个 Map[string]interface{}