In Xcode, when I try to Product > Archive > Validate App
I get the error:
No accounts with iTunes Connect access have been found for the team "TEAM_NAME". iTunes Connect access is required for App Store distribution.
and/or
No accounts with App Store Connect access have been found for the team "TEAM_NAME". App Store Connect access is required for App Store Connect distribution.
and/or
Unable to authenticate with App Store Connect
How can I fix this issue and validate my app?
DerivedData
and doing a clean build fixed the issue for me. – Dan Dyer