Quit and reopen XCode worked for me. No need to restart the laptop.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: