Issue Uploading to App Store: "Could not find an application record with bundledId"

I am again facing an issue uploading my App to iOS App Store

I created the Provisioning files following instruction provided here: Building Apps for iOS with MIT App Inventor for Ad-Hoc and App Store.I successfully build iOS Ad-Hoc file (.ipa) that I can install on my iPhone, the problem is when I try to upload to App Store.

I already had such a problem that I reported here: Unable to upload to iOS App Store - #7 by Jacques_Dumarest and you helped me solve it (was a big mistake from my side), but I double checked the identifiers and it seems to be OK: appinventor.ai-jacques.dumarest.EscapeGame2Alpes2025

Here are the different screenshot:

I made many trials, but still facing the issue. I am sure I miss something, but unable to find it

Thanks for your help

I have verified my parameters in the iOS Certificates and Profiles whith your parameters.

I have seen only a diference in the App ID and the Bundle ID:

image

I have de prior ID name whit "appinventor.ai-xxxxxxxx" in this ID. You have one personal name. My be you can not change this special prior name.

In the AI2 documentation we can read this:

Also keep attention no use spacial characters whith yor App Name because the process is very delicated whit the special characters (for example no put underscores: _)

You have to create the app record in App Store Connect. It's not enough to just create the app bundle ID in the developer portal. I don't know why Apple has two different systems for managing this but that's the disconnect.

Thanks for your feedback.
However, I am confused as I have created an App record following Apple doc: Add a new app - Create an app record - App Store Connect - Help - Apple Developer

image

When I click on this App I get:

and selecting the App information:

I do not see what is wrong

Hmm. Can you confirm that's the only Bundle ID that matches that string (e.g., you don't have a similarly named bundle ID)? It's a bit cut off in the screenshot but I assume it is correct.

Yes, we do not see the end of the string. Here is a photo (when I do a screenshot, the choice disappear) showing the full string:

Is your account an organization or individual account? Is there any chance your email is associated with another organization as well?

The Budle ID must to have this format?


Or is possible to have a free format on the part before to the "-"?

It's not necessary. The buildserver should pull the bundle ID out of your provisioning profile and use that, whatever it is. We just suggest that particular format since it's closest to what App Inventor produces on the Android side.

You are pointing a good point.
I have an individual Apple account (actually I succesfully published an an App using my Apple account), but in this case, I developped tha App using my own Google account (jacques.dumarest@gmail.com), and I log to Apple App Store Connect (as well as https://developer.apple.com/) using my own login (jacques.dumarest@gmaiul.com), but I am uploading / publishing the App on an organization account: OFFICE DU TOURISME DES DEUX ALPES)

image
Is it the root cause of my problem? How to deal with this situation?
Thanks

Any idea on how to fix this? Any test, trial I should do?
Thanks a lot

App Inventor will try to use the first iTunes account associated with your Apple ID, which is probably your personal one. To use an alternative account, at the moment you have to manually determine the short name associated with the App Store Connect account. As far as I know, the only way to do this is to use the iTMS Transporter tool published by Apple: Transporter User Guide 3.3

You can then run:

path/to/iTMSTransporter -m provider -u EMAIL -p APP_SPECIFIC_PASSWORD

to list the accounts. For example, when I do this I get the output:

Provider listing:
   - Long Name -  - Short Name -
1  Evan Patton    EvanPatton193412964

The value under the short name column needs to then be provided in the App Store Settings dialog so App Inventor knows which account to use.

I'll see about creating a UI for this in the iOS build system.

Actually, information provided with Transporter provider command:
image

is already available in Apple developper screen:

and it looks like the short name is the APPLE ID (yours include your name, while mine doesn't?)

Is it correct ?

So in App Inventor "App Store Settings" dialog box, instead of keeping ASC Short Name blank (as stated in the doc: " For most users, you can leave ASC Short Name blank." I have put Apple ID of "OFFICE DE TOURISME DES DEUX ALPES"

image

and .....

IT WORKS :smiley:

My understanding is that by default (ASC Short Name blank), personal Apple ID is used (which is the main usage), but if we want to upload to another APPLE account, APPLE ID of this account is needed.

So, I think there is no need to use Tranporter and no need for creating a UI, but just update / clarify the App Store Setting window:

  • First item should be: User Apple login (usually email adress)
  • Second item is App Specific Password: OK
  • Third item: The Apple ID that by default can be blank (APPLE ID of the user Apple login is used), but if another Apple account is used, provide this account Apple ID.
1 Like

@ewpatton Do you agree with my feedback / comment?
In such a case, I'll validate as solution
Thanks for your help & Support

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

The problem is that this doesn't work in all cases. For example, you can see that the short name for my account has a different structure from yours. Even for your personal account the structure isn't the same. I think it would be better for us to have the UI element to show the available accounts and allow the user to pick what they need. I may make it so that if there is only one account associated with the Apple ID then it won't ask them to pick.