I have a IOS app released in the app store, using Cordova.
Now, I made several changes, but it seems that I cannot update the app in apple store, because (it's submitting with the same version number):
How do i update the version numbers in xcode so I don't get this error?
I searched the version number in the whole (Cordova) project and I did not found results, so question is:
How Do I change this value? ( either from the cordova project (platforms/ios) or the xcode project )
And I have this way setted in Xcode (obviously changing the "mybundle" for the right one:
But the error still referencing the previous (published last year) version
Click the Xcode Cloud tab and choose Settings in the sidebar. Click the Build Number tab below Settings. Click the Edit button next to Next Build Number. Enter a new build number and save your changes.
The version and build number is present on info.plist
. If you open this file, you'll see two entries related to versioning
Another option is to click on the root on xcode project navigator, you'll see two text boxes to edit the same information (Version
, Build
)
For sure Cordova IDE offers another way to do it.
Instead of changing it on the Xcode project, try changing it in the config.xml
file.
<widget id="com.test" version="1.3" ios-CFBundleVersion="1.200001111" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> </widget>
version
sets the CFBundleShortVersionString
(release version), and ios-CFBundleVersion
sets the CFBundleVersion
(build version)
Then run cordova prepare
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With