None of the solutions above worked for me. It's an Xcode issue.
I downloaded the Transporter app from the mac App store, exported the ipa file from Xcode then uploaded it via the transporter app. Worked like a charm
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: