Whenever I try to open a project in Xcode, it gets stuck on loading and never finishes. Xcode eventually stops responding, and I have to force quit. This happens to all my projects and seemed to happen all of a sudden after restarting my macbook.
I have tried to delete and install Xcode, delete the entire developer file in library, as well as delete the data files in the package contents.
update: The problem went away and came back after a few days of doing nothing. very strange problem
I was in similar situation and one of the above comments helped me narrow it down.
If the code is in your iCloud folder and happens to be waiting to upload to iCloud for some reason (6MB waiting, seemed stuck), kill Xcode, turn Wi-Fi off for a second, reopen your project, and it should open right up. You can then resume using Wi-Fi.
Moving the code out of your iCloud managed folder would probably help.
Try
Remove ~/Library/Development/
Remove ~/Library/Caches
Remove ~/Library/Autosave Information
It works to me on same issue
Edited
If you use Sierra with Xcode8 and your project in iCloud Documents
move project to another directory not in iCloud
it should cause problem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With