FWIW I ran into this issue today on Xcode 26.6. What worked for me was selecting the target scheme in Product > Scheme > {select target scheme}. This seemed to trick it into associating it with the correct bundle ID
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: