Restarting my Mac also solved this issue for me. Using Xcode 13.2.1. Had just updated to macOS 12.1.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: