Had the same issue here with Xcode 16.1 (Current AppStore Xcode.app) and Xcode16.0 manually downloaded. Renaming the Xcode.app in the /Applications to something else than Xcode.app solved the problem.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: