I updated to the latest AppStore release of Xcode (12.3, 12C33). It worked fine for an hour or two. After that it started to constantly freeze after being open for a few sec