I'm trying to upload a new build to the app store connect. I usually use my CI for this but since the boss forgot to renew the CI's plan, I need to do it manually from XCode for now. Building and uploading from CI always work so far.
So I've Archived it successfully. But when I tried to Validate or Distribute the app from the Organizer, it failed with the error:
No accounts with App Store Connect access have been found for "TEAM_NAME". App Store Connect access is required for App Store Distribution.
I am using XCode Version 11.6 (11E708), and have already added the account that has App Store Connect access to XCode. The account has the admin role. So far, these are all the fixes that I have tried to no avail:
- Restart XCode
- Restart Mac
- Delete and add the account again
- Delete DerivedData
- Redownload the certificates and add them to Keychain
- Change the signing type to Automatic from Manual, or vice versa
- Make sure to disable my VPN
- Any combination of the steps above
I have also tried exporting and uploading using xcrun altool --upload-app
but it returned these errors:
2021-01-19 22:03:00.239 altool[6155:75984] *** Error: Connection failed! Error Message - The request timed out.
2021-01-19 22:03:00.404 altool[6155:75978] *** Error: Error uploading 'Kolibree.ipa'.
2021-01-19 22:03:00.404 altool[6155:75978] *** Error: code -1011 (Unable to get authorization for username 'USERNAME' and password provided. Authentication failed.)
The network is most certainly working so I don't know why it timed out. Is it from Apple's side? Can anybody help me here? Thanks in advance.
UPDATE: I'm still using Catalina 10.15.4. Does that make any difference? Should I update my macOS?