Xcode swift indexing forever
indexing, swift, xcode
Solution
Solved it: I deleted the most recently added files from the project and the problem disappeared. Then I started to add back the files, one by one until the problem reappeared. So I found the file causing the problem. Then I deleted the most recently added code from that file and again, the problem disappeared.
That way, I found a piece of code which was responsible for that behavior.
Problem
I'm currently developing an iOS app using swift and Xcode 6 (Beta 3). Everything went fine so far but now as my project grows, Xcode suddenly began indexing and it does that again and again, making Xcode nearly unusable. I have searched the web for similar problems and tried the solutions but none of them did help. Even disabling the indexing process (`defaults write com.apple.dt.Xcode IDEIndexDisable 1`) does not stop Xcode to do that. While indexing, my CPU usage goes up to 300%+, causing the fans to run at highest speed. In Activity Monitor there are several tasks named "swift" taking up about 1GB memory each.