2

I changed the version for my app in Xcode's "General" settings to be 0.3.0. I saved it and also looked into Info.plist, the version was also updated there. But when I archived it and looked for the version number in the generated .ipa file, I found it to be the version of the last archive I made for this project (which was 0.2.0). Thus I cannot upload the archive via Application Loader because the build with this version already exists in my iTunesConnect. How can I get Xcode to archive with the correct version number?

Codey
  • 1,131
  • 2
  • 15
  • 34

2 Answers2

4

In my case I'd update it in "General" but the Info.plist file for release builds hadn't also been updated. Updating it manually there fixed the issue. The "General" tab numbers weren't used at all.

David Findlay
  • 1,296
  • 1
  • 14
  • 30
2

Remove device if your device connected with mac and build archive with generic device.

KKRocks
  • 8,222
  • 1
  • 18
  • 84