Error : CFBundleVersion must be higher than the previously uploaded version

℡╲_俬逩灬. 提交于 2020-01-04 02:39:12

问题


I want to upload new version of my app. The old version of my app in iTunes was 2.1 and I am uploding new version as 2.2. But when i am trying to validate my app it will give an error

 "CFBundleVerion must be higher than the previously uploaded version".

I am also incrementing the CFBundleVersion as 3.0 and BundleVersion as also 3.0 from previous versions.

My app is in Xcode 4.0.

What can be problem?

Any help would be appreciated.


回答1:


You need to change the bundle version in your info.plist.

Your Bundle Version should be increased while you submit an update of your existing app.

So increase your bundle version from 1.0 to may 2.0 or may be 1.1 based on the number of changes and how big your changes are.

Here are couple of links you can refer to get more clarity on this:

CFBundleVersion must be higher than previous version

CFBundleVersion in the Info.plist Upload Error

Hope this helps.




回答2:


Make sure your CFBundleVerion with the Bundle versions string, short in the info.plist file.

For example,

if Bundle version is 2.5 then make sure you also update Bundle versions string, short to 2.5 or higher number.




回答3:


I'm using XCode 5 and had the same problem. Googling for solution I found that it is an Apple's bug but they don't fix it. So I decided to do the following:

  • in plist files changed my version in bundle version and bundle version short string to desired number

  • deleted all archives in organizer

  • created new archive and verified version

  • distributed version

these worked for me hope that helps



来源:https://stackoverflow.com/questions/9925613/error-cfbundleversion-must-be-higher-than-the-previously-uploaded-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!