Try to rename the file to just "Xcode" and replace the existing Xcode 15 in Applications. That fixed my issue.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: