Reputation: 3013
Getting the error below when trying to validate/distribute to Apple Store from Xcode
Upvotes: 36
Views: 15135
Reputation: 11
You logged out Apple Account in XCode. Login account again and restart Xcode worked for me.
Upvotes: 1
Reputation: 183
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.
Upvotes: 2
Reputation: 91
I was on a VNC session and had to first run:
security unlock-keychain login.keychain
Upvotes: 0
Reputation: 896
Open Safari browser, sign in to appstoreconnect.apple.com and retry distribute app. You will get this error, if not signed in.
Upvotes: 3
Reputation: 669
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.
Upvotes: 41
Reputation: 3013
Just go to XCode settings and sign in again under Accounts tab
Upvotes: 65