XCode is Frozen !!!!

Macos Monterey version 12.4, chip Apple M1 MAX Xcode 13.4.1 Build version 13F100

I'm trying to build a React-native/expo app through Xcode, it gets stuck trying to open the project with an endlessly spinning wheel. I tried a few solutions found in stack over flow and here, but nothing worked for me. I have removed xcode and install it again a couple of time.

 i'm facing a real problem, i can't build IOS app... What is possible to do. Xcode is stuck in infinity loading, with the rainbow circle, even after a re-installation... all the time i try to build a IOS app... i have tried with a blank project building with expo cli and i have the same result. How can i debug this... which tools I can use ? Please help !

Ditto for me I have the MacBook Pro M1 and the same Xcode Build. I literally spent a whole day trying to fix this to no avail! Please help!

UPDATE!

(at least for me)

I had iCloud enabled for my Documents/Desktop and if I tried to open any Xcode project within my desktop or documents it gives me the spinning wheel of death.

I tried creating/opening a project outside of my iCloud Documents/Desktop folder (in my downloads folder) and it worked like a charm!

FIX:

I only have one computer and don't actually need iCloud enabled, so I was able to just uncheck my Desktop and Documents being saved in iCloud - see this link for how - and voila! Everything was working!

XCode is Frozen !!!!
 
 
Q