The bundle identifier cannot be changed from the current value error

Deadly 提交于 2019-12-10 20:27:21

问题


I made iPhone app, now i want to upload this app in Appstore.

When i try to upload archive file from organizer it shows me this error:

: Bundle identifier in my target project is com.Appname

What changes i need to do ?

Please help and thanks in advance.


回答1:


So it shows that both identifiers are not same,

  • Create new identifier like, com.cmpny.appname

  • Set up again itunes app using this identifier

  • Use this identifier in xcode and create archive



回答2:


So here's what's happening:

  1. You have previously registered an app ID in iTunes connect which is "waiting for upload," and you've forgotten about it.

  2. You have just made another app which you are trying to validate, but the status in iTunes connect is "prepare for upload."

  3. When you hit "validate", the Organizer shows the old App name as the Application name, where it says "Application:" which you are probably overlooking.

And here's what you need to do:

  1. Go to iTunes connect and change your NEW app's status from prepare to upload, to waiting for upload, by hitting the blue button "ready to upload binary" on the top right corner of the screen.

  2. Go back to the Organizer window and hit "validate." Xcode will now recognize the new app and you won't get the error message you reported above.

Hope this helps. Cheers.




回答3:


Your bundle identifier should be com.companyname.appname

Set this identifier in Xcode project settings.

Create App id using this Bundle ID in iTunes connect.

Create a provisioning profile using the new app id. Take a new ipa file using this profile. and try validation.

Make sure that the bundle identifier used in your xcode project target settings and the bundle identifier in app details in iTunes connect should be same.

Note: Please create new app in iTunes with the new bundle identifier.




回答4:


Go to iTunes Connect -> Menu More -> About this app and change the Bundle ID and bundle ID Suffix.




回答5:


In my case the problem was the lowercase / uppercase bundle ID which was set in the app and in iTunes. Make sure they are the same - change the iTunes one from More->About this app



来源:https://stackoverflow.com/questions/21473347/the-bundle-identifier-cannot-be-changed-from-the-current-value-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!