Upload for App Store Connect: App Record Creation Error

I started using Xcode to package and submit my app yesterday, but it failed. I received a prompt "Your app must be registered with App Store Connect before it can be uploaded. Xcode will create an app record with the following properties." halfway through the process. After filling it out and submitting, I received another prompt "App Record Creation Error,App Record Creation failed as you do not have permission to perform requests of this type."。

I have already listed several apps on the app store. For the other apps, I also tried creating new versions, packaging, and submitting them, but I encountered the same error

Answered by huangzhonghui in 872004022

The issue is indeed related to "my account having administrative permissions under another company's account". My personal account has been assigned "administrative" permissions (with the authority to manage certificates) under another company's account. Yesterday, I tried to remove my account from that company's account. Today, when I tried to package and submit, Xcode prompted me to access my certificate (presumably the certificate for my personal account). After I agreed, everything proceeded smoothly. It seems that when my account has administrative permissions for multiple accounts, Xcode uses the wrong certificate.

I checked the release log file "IDEDistributionAppStoreConnect.log" I found that the api url(https://appstoreconnect.apple.com/iris/provider/xxxxxx/v1/apps?xxxxx) was unable to retrieve my application information. I logged into my developer account in the browser and manually opened the link in the browser, which returned the information of the app

I tried logging out of my account in Xcode, logging back in, and resubmitting the operation, but the same error occurred.

Just to clarify, my account also has APP administrator permissions under another company's account. I'm not sure if this has any impact.

Accepted Answer

The issue is indeed related to "my account having administrative permissions under another company's account". My personal account has been assigned "administrative" permissions (with the authority to manage certificates) under another company's account. Yesterday, I tried to remove my account from that company's account. Today, when I tried to package and submit, Xcode prompted me to access my certificate (presumably the certificate for my personal account). After I agreed, everything proceeded smoothly. It seems that when my account has administrative permissions for multiple accounts, Xcode uses the wrong certificate.

Upload for App Store Connect: App Record Creation Error
 
 
Q