Back to All

iOS version number wrong in build despite of correct setting in Xcode

Hi! I need to update our app on App Store after quite some time. I just downloaded the new Xcode project from Median (last one was when the company was still called GoNative). I have set the version numbers in the target and also in the project (which wasn't set up at first) to 2.2 (1) (as the current app version in App Store is 2.1) but still, when I build the app, the archive gets version 1.0.0 (1.0.0). WArahen trying to upload to App Store, I get the same types of errors as in this post due tho the version being too low:
https://median.co/discuss/65cfc60edc68f200657fdb37

Is there still something I am missing?

Target settings:

Project settings:

Archive