29

I'm new to the whole app world, and this is my first time using X-code (my apps I have built in the past, use Phonegap Build)

Anyway - I managed to create a stick page (eventually!). Now I've made some changes to it, but I can't for the life of me work out how to upload it! I get this error when pushing it:

CFBundleVersion Mismatch - The CFBundleVersion value '1' of extension 'Steampunk Junkies™ Sticker Pack.app/PlugIns/StickerPackExtension.appex' does not match the CFBundleVersion value '1.0.5.1' of its containing iOS application 'Steampunk Junkies™ Sticker Pack.app'.

CFBundleShortVersionString Mismatch - The CFBundleShortVersionString value '1.0' of extension 'Steampunk Junkies™ Sticker Pack.app/PlugIns/StickerPackExtension.appex' does not match the CFBundleShortVersionString value '1.0.5' of its containing iOS application 'Steampunk Junkies™ Sticker Pack.app'.

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

My configs look like:

enter image description here

enter image description here

enter image description here

I've never had to manage the version numbers in X-Code before - so its entirly possible I've missed an important step when changing the version number.

Could someone please help me out? It's driving me up the wall!

NB: I'm using X-Code 8.2 beta (the version they offer you to download from the developer area)

UPDATE: Thank you so much to shallowThought helping me on this! While my setup didn't quite look like he posted, it made me look around to find the place he was talking about. In the end, I found it with the "down arrow", as circled below:

enter image description here

Once I clicked that, it let me view the information of the other section of the package. Man, I can't believe I missed that!

4 Answers 4

54

I consider it an App Store bug, caused by StickerPackExtension targets version and build version differs from the Steampunk Junkies™ Sticker Pack application targets version:

To fix the error simply copy the version to make sure they are the same for both targets.

If you can not see your targets, click this symbol:


Update for newer Xcode versions:

When uploading to App Store, Xcode's Organiser now has a "Manage Version and Build Number" option which takes care of this issue by default, default is ticked:

enter image description here

10
  • 1
    Ah man, that was it! (slightly different, but it got me on the right track - I'll post an update above). Thank you for saving the remaining part of my hair! ;) Commented Nov 29, 2016 at 19:51
  • 2
    Can any one let me know if build number is different in target and extension still if we distribute it on AppStore is it any harm. Or any disadvantage. Please clear my doubt. Thanks. Commented Oct 10, 2018 at 11:28
  • 1
    @shashiGupta I am wondering same thing, it uploaded fine, and I have it ready to submit to App Store, I just hope they don't reject it because of this after waiting for review Commented Apr 3, 2019 at 1:33
  • 1
    @MadeByDouglas I have submitted the build for review and Apple submitted it successfully. Commented Apr 4, 2019 at 3:42
  • 1
    @shashiGupta ok thanks good to know, we ended up pushing another build with different fixes anyway Commented Apr 16, 2019 at 20:42
7

Look under the Info tab to see if you have updated it there also.

You can change the build number and keep the same version number in order to archive it and submit to the app store.

0
6
  • Just go to Build Settings of your target which is the cause of version mismatch warning.
  • Search for MARKETING_VERSION

It is there. You'll most probably see that the version number of that target is different than the app, edit it. Voila!

0

For me, I had to give Marketing Version of both app and the extension the same number.

enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.