I tried to upload an .ipa to AppStore Connect, but Xcode and Transport showed Authenticating with the App Store and it didn’t proceed.
Then it might work to use an API key for authentication.
Generate API Key
- Go to App Store Connect console: https://appstoreconnect.apple.com/access/api
- Generate an API key. Then download the Key(.p8) and copy
Issuer IDandKEY ID.
Validate app
xcrun altool --validate-app -f {YOURAPP}.ipa -t ios --apiKey {YOUR KEY ID} --apiIssuer {YOUR ISSURE ID}
Upload app
xcrun altool --upload-app -f {YOURAPP}.ipa -t ios --apiKey {YOUR KEY ID} --apiIssuer {YOUR ISSURE ID}