Can't upload app: No accounts with App Store Connect access have been found

Getting this error suddenly tonight:


No App Store Conect Account:


No accounts with App Store Connect access have been found for the team "<MY TEAM>". App Store Connect access is required for App Store distribution.


Then below it lists my Apple ID and says "No App Store Connect access for the team".


Nothing has changed and it worked a week ago.


I'm the owner of my company, the "agent" account in member center and admin on app store connect.


Any solution to this?

I had a similar problem maybe 6 months ago that randomly went away on its own at some point, but was stuck with it for a week or more at the time.

Replies

I fixed this with a reboot. Restarting XCode had no effect, and there is nothing obviously funny with my account.

For me, restarting Xcode and my Mac didn't work.

For some reason, I had been signed out of Xcode. I clicked Manage Accounts, then signed in with my Apple ID and it worked