Was struggling for hours before discovering this thread. The issue for me was for literally any app i tried to upload, not just one specific app. I did discover a workaround.
WORKAROUND:
Go to Certificates, Identifiers & Profiles
Create a profile that specifically targets your app bundle identifier
create the profile, download it
disable automatic profile management in xcode under Signing & Capabilities
Import newly downloaded profile
worked for me :)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: