Error when Updating an App

I’m very confused about updating an app, and hoping someone can set me straight:

I have an app in the AppStore, and I would like to update the app with a new version.

When I use the Application Loader I get the following error:

"This bundle is invalid. The key CFBundleVersion in the Info.plist file must contain a higher version than that of the previously uploaded version".

So… does that mean I need to create a new Bundle ID? I was under the impression that if I create a new bundle id, I am actually creating a new app? (ie: Existing users won’t get the free upgrade)?

So how do I get the CFBundleVersion in the Info.plist to have a higher version number?

Any help would be greatly appreciated.

[import]uid: 40285 topic_id: 13286 reply_id: 313286[/import]

did you set a higher version number in the build screen ? [import]uid: 71210 topic_id: 13286 reply_id: 48786[/import]

Yes. [import]uid: 40285 topic_id: 13286 reply_id: 48787[/import]

try giving CFBundleVersion in build.settings file

[lua]settings =
{
iphone =
{
plist =
{
CFBundleVersion = “1.0.1”,
CFBundleDisplayName = “APPName”
},
}
}[/lua] [import]uid: 71210 topic_id: 13286 reply_id: 48790[/import]

Things to beware of when setting CFBundleVersion

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

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.

It is better to give CFBundleVersion as a 3 part string. eg 1.1.1 , 1.2.1 etc

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. [import]uid: 71210 topic_id: 13286 reply_id: 48796[/import]

Thanks for your help Technowand!

'Not sure which one of the 4 or 5 tips above did the trick… but something you wrote did the trick.

All good now.

Thank you. [import]uid: 40285 topic_id: 13286 reply_id: 48818[/import]