Happened to me too, updating to Xcode 12.1. I noted that when I restarted, It asked to update libraries. Then the bug was fixed.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: