Bundle ID Is Not Available? - ios

So I have been getting this Bundle ID error saying it is not available and don't really know how to fix it. Here is the error:
There were errors in the data supplied. Please correct and re-submit.
An App ID with Identifier 'com.team.AppName' is not available. Please enter a different string.
So right now in my app I am 100% sure that my bundle Id matches the one I have entered in the developer system. I am not to sure why this error keeps on appearing and would appreciate any help someone has to offer.
PS:
I am not to sure if this is a problem but my developer team on Xcode (like the one I am using in my app) is different than my developer program apple id.
Any help would be appreciated.

The error comes because you don't have an app record in your iTunes connect account which matches the current bundle identifier. You should create an app record in your iTunes Connect account before uploading the app.
Before you can upload an app for distribution on the App Store or Mac
App Store, you create a record in iTunes Connect. This record includes
all the information that appears on the store for the app, and all the
information needed to manage the app through the distribution process.
You can read more about it here : Creating an iTunes Connect Record for an App

PS: I am not to sure if this is a problem but my developer team on Xcode (like the one I am using in my app) is different than my developer program apple id
Of course it is a problem. In Apple's eyes, you're about to steal someone else's identifier.
What you could do is transfer the Id between accounts. Take a look at this link: https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/TransferringAndDeletingApps.html. It might take a while, though, and can only be performed by the Team Lead.

Related

Can't make new app in iTunes Connect

I am trying to add my first iOS app to iTunes Connect, but when I try, it shows me this message:
You have no eligible Bundle IDs for iOS apps.
Register one here.
with a link to the Certificates, Identifiers, and Profiles page.
I already have a wildcard App ID, as well as a certificate and provisioning profile. Am I doing anything wrong here? I have searched other questions with the same error message, but to no avail.
Edit: In case it wasn't clear above, I have already made an App ID. I also tried it with an explicit app ID, and it still doesn't work.
WildCard App Id is only allowed for development but for putting it on app store, you need to have fixed unique app id.
Login with your apple developer account here https://developer.apple.com/account/
And add new Bundle ID for your app and then open itunes connect and add new app.
The wildcard app id option is only for development purposes. When publishing on the app store, you need to provide a unique app id, such as com.company.appname. Go to the App Ids page directly to create one, or from the link you posted, Identifiers -> App IDs on the left hand side.

Delete not reviewed app from iTunes Connect

I created application in iTunes connect and download archive for beta testing. But I make a mistake in application name and now I want to delete it and create new with correct name. There are many similar topics, but the solution to deselect all countries in Pricing not working for me.
The following error(s) occurred:
You must select at least one App Store territory in which you want to make your app available.
In apple documentation it is also said, that application should be reviewed at least 1 time to be rejected by developer, does it mean that I should send my app for review and only after it I would be able to delete my app? It is kinda stupid. At the moment my app has status "Prepare for Submission" and has not released version, only beta testing.
In your case you need to create new application in iTunes Connect with new bundle id (you should also generate new in developer portal). Because you can't update it:
The bundle ID must match the one you used in Xcode. It can't be
changed after you upload your first build.
You can upload your binary and send to review and remove your wrong application when it will pass review.
Also check this question, #pion answer with comments: Deleting an app in iTunes Connect
They provided some workaround, maybe it will help you.

How to tell what appid my app is using

I'm stuck in a slightly weird situation. When our app was first created, nobody really knew what they were doing and I'm trying to clean things up a bit.
In the iOS developer center, it seems that there are two App IDs for my app. I think I can delete one of them, because the other one is the one that is actually being used, but I'm not 100% sure.
Here is the App ID that I think is actually being used in our released app:
Here is the "other App ID":
The annoying thing is that the "other App ID" seems to match the bundle ID of the app and xCode seems to be trying to use it as the application-identifier when the app is submitted to the store. I don't want the application identifier to change.
Is it safe to delete the other app id? Can I force xCode to use the correct application identifier? How can I tell which app ID is actually being used by our released app?
Edit:
Why this arose is because after submitting our latest build to the store for testflight, I got this notification:
Dear developer,
We have discovered one or more issues with your recent delivery for
"My Cool App". Your delivery was successful, but you may wish to
correct the following issues in your next delivery:
Potential Loss of Keychain Access - The previous version of software
has an application-identifier value of ['ABCDE.MyCoolApp'] and the new
version of software being submitted has an application-identifier of
['QWERTY.MyCoolApp']. This will result in a loss of keychain access.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.
Regards, The App Store team
The fact that the application-identifier is changing, and that it appears to be using the "prefix" as part of this value, suggests that it was using the first app ID, but now it is going to use the second.
Do you have access to login in to the iTunes Connect for that account? That's what you really need to verify the bundle ID (aka app ID) of the released app.
Login at itunesconnect.apple.com, click on apps, click on your specific app, click on the 'more' tab, click on 'about this app' it will show you the bundle ID being used for the released app. Feel free to delete the OTHER app ID out of your account. Not the one in iTunes Connect :)
The bundle ID in your Xcode project can always be modified to match whatever app ID you'd like, as well as you can easily regenerate any necessary provisioning profiles for any app ID. (of course, you should make it match the existing one in iTunesConnect if you want to release an update for that app)
Edit:
It sounds like you've been able to match up the app ID, but not the prefix. The way prefixes are assigned has changed over the years and now they are all team based. You can read this technical note and see if it will help you resolve the warning you encountered.
Developer Link
The primary difference between your 2 App ID is the ID:
the first one has '*' as ID. It means it is a wildcard ID. You can create multiple applications using different bundle identifiers with the same provisioning profile using this ID. But you don't have access to specific capabilities such as Push Notifications, in-app purchase (because multiple apps will share the same profile
the second one is fully qualified and can be used only with the app whose bundle identifier is 'MyCoolApp' and can have access to full capabilities of apps.
Note that your app ID naming convention should be in reverse url format as Apple advices: myCompany.myInternalGroup.myAppId.appFlavor for instance.

Updating an iOS app with only the Bundle ID

I have an iOS app which I have developed and packaged and I was ready to submit to the app store. However the client has requested that I update an existing app which was developed by another unrelated developer rather then submit a new one. Basically using my new code.
All I have been provided with so far is a Bundle ID. Obviously if I try and add a new App ID under my developer account I get an error:
"The bundle identifier you have specified is already in use. Please select another."
Is there any way around this? I can't see any easy way as this Bundle will never be under my provisioning profile.
Any help will be much appreciated.
Two ways:
You need to use their iTunes Connect Credentials and upload your App
They need to add you as team member (Add your Apple Id to their account as their team member)
For this they need to invite you to join to their program and you need to accept their invitation.
They can invite you by logging to their developer account and :
Developer Account->Member Center->People->Invite a person to your team
Refer:
Account Management

No Suitable application record were found. When Validating application - Beginner

I need to validate my application (but not submit). So i build an archives file of the application and clicked on validate (in organizer).
I see a alert message saying
No Suitable application record were found.
Please make sure that you have set up a record for this application on
iTunes connect.
I don't undestand what has gone wrong, can someone tell me what to do
note'\: i have googled and found similar questions, but none of then were helpful
You have to register your app in iTunes Connect. This is an official Apple's document describing the process: iTunes Connect Developer Guide (starting from page 37).
There are many reasons why it is happening like this and I have explained my case here.I faced same issue while I was updating my old application in iTunes Connect.I resolved that by putting some work by gone through some posts on web.We have one application in live store with one bundle id (com.sample.AppOne).We need
to update the app to next version.Then I gave bundle id as
(com.sample.AppNine) which does not match with the bundle in iTunes Connect
earlier.So while updating the app in iTunes Connect we should give same bundle
id which we gave for old version.This solved my issue.

Resources