Phonegap - The Info.plist in the package must contain the CFBundleVersion key

Add after first opening of the < dict >

<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>

Replace 1.0 with the version of the application you want.The funny thing is that those should be generated for you any time you are changing anything in the TargetName -> General -> Identity :)

Edit: added a image where those setting are displayd

Where to find those settings


Turns out there needs to be a config.xml in the www/ directory which wasn't there by default from the beginning.

In the widget tag, the following should be specified:

version="1.0.6" ios-CFBundleVersion="201406097"

where the version number should be changed everytime you wish to deploy an new update on the app store. I read that you can write a script that takes care of the version so you don't have to change it manually each time but didn't try it.

For the CFBundleVersion you could check the following answer which explains it. But you won't need to change it when deploying.