user1615898
user1615898

Reputation: 1233

XCode 8 keeps freezing at startup when loading index

My xCode 8 keeps freezing at startup when loading the index of the project. I have to delete the derived folder data everytime to make XCode not freezing (and thus it has to rebuild the index everytime). I always had this problem since XCode8 has released and there has not been a fix yet. The problem did not exist when I use XCode7 (even though indexing was also very slow, it did not freeze and will eventually finish).

I suspect that loading the index may take too much memory (my dev machine has 8GB of RAM). Does anyone notice the same problem and is there a solution for it?

Our company's project is decently large (around 200-300 source files).

My XCode is the AppStore public version: Version 8.0 (8A218a).

Upvotes: 0

Views: 1296

Answers (2)

aircraft
aircraft

Reputation: 26924

I run into this issue, and my solution is:

Restart my Xcode, then there is no Loading index...

Upvotes: 0

Congdong Zhao
Congdong Zhao

Reputation: 21

cd ~/Library/Developer/Xcode/DerivedData/ProjectName-xxxxxxxxxxxxxxxxxxx/
rm -f Index

Upvotes: 2

Related Questions