Error: CFBundleVersion needs to be higher than the one previously submitted

I put out an app that went live on Monday, but over the weekend I was reading the blog post on dynamic image management, so instead of submitting it to the showcase, I worked hard on converting everything over to display better graphics on the iPhone 4 and iPad.

This is the first update I’ve made to an existing app in the app store, and when I tried to submit it I got the error: CFBundleVersion needs to be higher than the one previously submitted.

Note: I didn’t have anything about a version number in my original build.settings. Since the error, I’ve tried a number of different thing in the build.settings. Here’s one of my attempts:

settings =  
{   
 iphone =  
 {  
 plist =  
 {  
 CFBundleVersion = "1.01",   
 CFBundleDisplayName = "Marbles"   
 },  
 }  
}  

As far as I can tell, that should work assuming that the default CFBundleVersion is 1.0. (I don’t know what Corona uses as a default for that.) The CFBundleDisplayName works fine.

I’ve also tried changing the version number in the build screen.

Obviously, my app’s update is on hold until I can get this solved. [import]uid: 8776 topic_id: 6018 reply_id: 306018[/import]

This issue just took a turn for the weird. I figured out that the .app file generated is just a folder (never knew that before), so I did a re-build and checked the version number. It was correctly passed through from my build.settings.

So I changed the version to: 2.2.2 and it actually went through. Well, it didn’t give the BundleVersion error.

The new error was that it couldn’t find icon.png. It seems the build process converted my icon.png to Icon.png, and since I’d specified icon.png in the build.settings, it failed. I got around it by just changing my build.settings, but that is a possible bug in the build.

I don’t know why it let it through with 2.2.2. I’d tried everything from 1.2.3 to 2.0 to 10.0. [import]uid: 8776 topic_id: 6018 reply_id: 20634[/import]

I’m trying to create an update for my initial app that is on the App Store, but everytime I try to upload the updated version I receive the following error messsage:
The binary you uploaded was invalid. The key CFBundleVersion in the Info.plist file must contain a higher version than that of the previously uploaded version.

I’ve ensured that the version number (CFBundleVersion in the build.settings file has set to “1.1”) I’ve checked the version numbers in the Info.plist as the error message mentions (followed advice from the Havien).
I’ve ensured that the same version set online with my Apple account as well as when I build the code. I’ve tried several version numbers for the CFBundleVersion, ranging from 1.1, 1.1.1, 2.0, 2.1.1, 2.2.2, etc… I’ve even tried to upload it as version 9999 (my initial version is 1.0) but nothing seems to work.

I have read online quite a bit about this error message but I just cannot seem to figure it out. Some other have suggested to check if there are no other Apps with a lower number than the one I am uploading, which I don’t as I only have this app at the moment.
I think I am losing my mind!

Does anyone have any idea what it could be? - any help would be appreciated.
P.S. I am running version 2011.591 (2011.8.2) [import]uid: 75751 topic_id: 6018 reply_id: 55189[/import]