Joel Derfner
Joel Derfner

Reputation: 2207

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

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?

Upvotes: 9

Views: 16432

Answers (4)

holierthanthou84
holierthanthou84

Reputation: 227

The simple thing is you have to Archive the project again. Products > Archive and then Validate.

Upvotes: 1

Joel Derfner
Joel Derfner

Reputation: 2207

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.

Upvotes: 4

Kevin
Kevin

Reputation: 56049

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

Upvotes: 4

Jordan Montel
Jordan Montel

Reputation: 8247

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.

Upvotes: 2

Related Questions