Package ID cannot be changed from previous version

I had an error trying to send the first update for my app to iTunes Connect.

When you go through the “Distribute” operation for “Submit to iOS App Store”, I select the new version of the application that I created in iTunes Connect and only the code signing identifier is available. Xcode tells me that

"This package is not valid. The package ID cannot be changed from the previous version. If you want to change your package ID, you will need to create a new application in iTunes Connect."

However, the iTunes Connect page for my application tells me that the package ID

com.mycompany.myapp 

And in the Xcode Goal Summary, the Bundle ID is set to

 com.mycompany.myapp 

I literally copied the text from the webpage and, of course, pasted it into Xcode.

Version and build numbers are 0.1 higher than in iTunes.

I tried:

  • resorting to help
  • Removing the Derived Data directory in Organizer
  • change the bundle identifier, archive, then change it back
  • even turning on and off again

All to no avail. It seems that there is no google result for “Package ID cannot be changed from the previous version”, although some of them include the word “minor”, ​​but unfortunately they do not help.

+4
source share
3 answers

I got this error until I switched to iTunesConnect and clicked “Ready to download” for the new version, after which the status changed to “Waiting for download”. There was nothing wrong with the package identifier, so the message "package identifier cannot be changed from the previous version" is very misleading.

+2
source

It seemed to me - where I messed up the build version (application update), so I added the build version 1.0.1, and then the project then built in the simulator. Then I reloaded into itunes - through the root of the archive. NB: If this is the first time you sent it to iTunes - this is something else.

0
source

Got it this morning. I solved it by going to iTunes. It was noted that the application is already in "Ready for review". Strange enough. Solved this:

  • Click View Details → Binary Data → Reject Binary.
  • After that, I immediately set the status to “Ready to download binary files”
  • Distributed application through Xcode.
0
source

Source: https://habr.com/ru/post/1433587/


All Articles