CFBundleVersion
来源:互联网 发布:淘宝古装哪家比较好的 编辑:程序博客网 时间:2024/06/09 18:10
CFBundleVersion in the Info.plist file must contain a higher version than that of the previously uploaded version.
这个问题也轮到我遇到了。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
- CFBundleVersion
- CFBundleVersion vs CFBundleShortVersionString
- CFBundleVersion和CFBundleShortVersionString
- CFBundleVersion与CFBundleShortVersionString
- CFBundleVersion问题处理
- CFBundleVersion与CFBundleShortVersionString
- CFBundleVersion与CFBundleShortVersionString
- CFBundleVersion与CFBundleShortVersionString
- CFBundleVersion与CFBundleShortVersionString
- CFBundleVersion与CFBundleShortVersionString
- CFBundleVersion与CFBundleShortVersionString
- CFBundleVersion与CFBundleShortVersionString
- CFBundleShortVersionString与CFBundleVersion
- CFBundleShortVersionString和CFBundleVersion
- CFBundleVersion与CFBundleShortVersionString区别
- CFBundleVersion与CFBundleShortVersionString,上架注意事项
- CFBundleVersion与CFBundleShortVersionString,上架注意事项
- 有关版本号 CFBundleVersion与CFBundleShortVersionString
- switch语句格式解释说明
- HDU 5386 Cover(求一个初始状态数图到另一个终止状态数图所需的步骤)
- android设置以太网ip
- Okhttp源码简单分析(完善ing)
- gridview 加载时,position=0被重复加载
- CFBundleVersion
- C#编写XML读写类操作xml文件
- HDU5441 Travel (2015年长春网络赛,并查集)
- 有序集合并集
- ios一个工程的多个target
- [BT_Overview]蓝牙Compliance Requirements
- 复习 泛型编程与STL 下
- cocos2dx 3.x 弃用列表
- java 开发设置网络全局代理