Xcode does not respond after opening any project

If I try to open/create any project Xcode takes at least ~1 hour to open it.

I had this problem with Xcode 13 but it also recurs in Xcode14, I also tried to reinstall the software.

My specs: M1 MacBook Pro macOS Monterey 12.5.1

Xcode does not respond after opening any project
 
 
Q