Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8 hangs up on loading

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

enter image description here

like image 868
user3796209 Avatar asked Sep 30 '16 06:09

user3796209


2 Answers

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.

like image 52
FiveOhHO Avatar answered Oct 18 '22 21:10

FiveOhHO


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

like image 29
Cruz Avatar answered Oct 18 '22 22:10

Cruz