Check if Xcode 13 resides in Application folder. In my case it was in Downloads folder, moving it to Application folder solved the problem for me.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: