Yesterday I started having problems when I opened xcode. I would select a project and xcode would stop responding.
It appears to be something with swift as projects that are made with objective-c can open. Once, a project did open after around five minutes.
I have already tried clearing the developer folder, clearing build folder, and reinstalling xcode.
I looked in activity moniter, and xcode doesn't appear to be using any resources. I have a macbook pro with an m1 pro chip.