Getting the error below when trying to validate/distribute to Apple Store from Xcode
7 Answers
I also got this. I followed Alex's own answer but it didn't worked (and I wasn't signed off).
I just quit Xcode and opened again.
-
The problem for me was because I was signed off. It seems that the root cause of the problem for you is different. Commented Dec 14, 2022 at 17:10
-
1
-
I thought my client removed my account :( This saved me. Commented Mar 13, 2023 at 11:54
-
1This magical piece of Xcode software never stops amazing me Commented May 30, 2023 at 16:22
Open Safari browser, sign in to appstoreconnect.apple.com and retry distribute app. You will get this error, if not signed in.
I just quit Xcode and opened Xcode again. its works for me the root cause is if you are working with VPN and agin changing your network preference as open network. or vice-versa this kind of problem will come. So just try quit Xcode and clean the build and try again.
You logged out Apple Account in XCode. Login account again and restart Xcode worked for me.
I was on a VNC session and had to first run:
security unlock-keychain login.keychain