Xcode error : "You do not have required role to perform an operation" with an Admin account

Hi,

Since yesterday (May 11, 2023) I can no longer send an update on TestFlight for the Apple Developer account of a client on which I am admin. It gives me the following error:

The last time I sent a version to TestFlight was May 4, 2023 and I had no problem.

With other client applications I have no problem sending my updates to TestFlight.

I have no problem connecting to Apple Connect with my Apple ID, I can see that I am an admin on the Apple Developer account.

My config:

  • macOS 13.3.1 (a)
  • Xcode Version 14.3 (14E222b)

Regards

Tof

Answered by ZeTof in 753158022

I found the source of the problem.

I manage several applications for different clients and for these applications I use my company's Apple ID. I also have a personal Apple ID for more convenience I use this account as a test account for my applications.

In Xcode my company's Apple ID is registered for client apps and my personal Apple ID is also registered for my personal projects.

Following a problem with a customer account, I deleted and restored my Apple ID accounts in Xcode by registering my personal Apple ID first and then my professional Apple ID.

And that's where I had the problem because when I try to send a new version of a client application to TestFlight, I get the message "You do not have required role to perform an operation"

Concretely, Xcode takes my personal Apple ID account, which is not a developer, for client projects instead of taking my professional Apple ID, which is admin on client environments. Xcode doesn't seem to select the correct account for uploading to TestFlight.

The solution was to remove the Apple ID accounts from Xcode and then add the professional Apple ID account first and then the personal Apple ID account.

Accepted Answer

I found the source of the problem.

I manage several applications for different clients and for these applications I use my company's Apple ID. I also have a personal Apple ID for more convenience I use this account as a test account for my applications.

In Xcode my company's Apple ID is registered for client apps and my personal Apple ID is also registered for my personal projects.

Following a problem with a customer account, I deleted and restored my Apple ID accounts in Xcode by registering my personal Apple ID first and then my professional Apple ID.

And that's where I had the problem because when I try to send a new version of a client application to TestFlight, I get the message "You do not have required role to perform an operation"

Concretely, Xcode takes my personal Apple ID account, which is not a developer, for client projects instead of taking my professional Apple ID, which is admin on client environments. Xcode doesn't seem to select the correct account for uploading to TestFlight.

The solution was to remove the Apple ID accounts from Xcode and then add the professional Apple ID account first and then the personal Apple ID account.

Remove all accounts from Xcode settings, then add your admin account that is a developer account you have been using. The error will disappear.

that

Xcode error : "You do not have required role to perform an operation" with an Admin account
 
 
Q