I had the same issue. Creating the app inside App Store Connect manually and then distributing it through Xcode again worked for me.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: