Had the same problem and fixed using the solution provided. I leave the error log so other users can find it:
$ xcrun altool --list-providers -u "gf****@***.com"
gf****@***.com's password:
2023-06-17 18:33:31.516 *** Error: Failed to list providers.
2023-06-17 18:33:31.518 *** Error: Failed to list providers. Failed to get authorization for username 'gf****@***.com' and password. (
"Error Domain=ITunesConnectionOperationErrorDomain Code=-19000 \"Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com\" UserInfo={NSLocalizedRecoverySuggestion=Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com, NSLocalizedDescription=Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com, NSLocalizedFailureReason=App Store operation failed.}"
) (-1011)
{
NSLocalizedDescription = "Failed to list providers.";
NSLocalizedFailureReason = "Failed to get authorization for username 'gf****@***.com' and password. (\n \"Error Domain=ITunesConnectionOperationErrorDomain Code=-19000 \\\"Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com\\\" UserInfo={NSLocalizedRecoverySuggestion=Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com, NSLocalizedDescription=Sign in with the app-specific password you generated. If you forgot the app-specific password or need to create a new one, go to appleid.apple.com, NSLocalizedFailureReason=App Store operation failed.}\"\n)";
}
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: