Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bundle is invalid -- CFBundleVersion and CFBundleShortVersionString in Info.plist must contain a higher version -- but they do

Tags:

xcode

ios

In trying to validate my app in preparation for submission to the app store, I get the following errors:

enter image description here

But here's a screenshot of my Info.plist, which the error messages claim list version 1.0, showing version 1.4.

Info.plist

What am I doing wrong, and how can I fix this?

like image 260
Joel Derfner Avatar asked Oct 14 '13 19:10

Joel Derfner


3 Answers

Apple considers each version level (.-separated) as a separate integer, so your old version is major 1, minor 134. That's probably not what you intended (1.1.3.4?), but you're stuck with it. I believe you will need to pick a version with either major > 1 (2.0) or minor > 134 (1.135).

1.0 < 1.1 < 1.2 < 1.134 < 1.135 < 1.1234 < 2.0
Major 1
   Minor 0   
   Minor 1   
   Minor 2   
   Minor 134   
   Minor 135
   Minor 1234
Major 2
   Minor 0
like image 60
Kevin Avatar answered Oct 15 '22 01:10

Kevin


Turns out this is a duplicate of CFBundleVersion in the Info.plist Upload Error. I followed the advice in the second answer--deleting the archives--and everything turned out fine.

like image 23
Joel Derfner Avatar answered Oct 15 '22 00:10

Joel Derfner


Change 1.1310 by 1.135 or a number higher than 1.134 (1.1341 will work)

You need to have a bundle version higher than the last one. Modify the key Bundle versions string, short and Bundle version.

Furthermore, be careful of the first warning and add an Icon with the size 120x120.

like image 27
Jordan Montel Avatar answered Oct 15 '22 01:10

Jordan Montel