In Xcode 8.3.0 & 8.3.1 as I type (in the editor) I keep getting spinning wheel of death? (Autocompletion related?)

In any objective-c .m, .h file.


As I start typing in the editor.


- (void)setup {
    abcdefghijklm
}


As soon as I reach 'n' the editor will stop showing characters, freeze, and the spinning wheel displays.

After several seconds 'n' and subsequent things I've typed, done finally appears.


This started happening today (Monday, April 10th, 2017) in Xcode 8.3.0 after I added 5 new .framework files to our project.

I thought it might be indexing so gave it an hour or so to index.

It happens still after upgrading to Xcode 8.3.1.

I can't type.


It has gotten so bad that I am now writing objective-c in textedit and then copying, pasting code from textedit into Xcode.


I am going to fully delete and try re-installing Xcode (8.3.1) and see if that fixes anything.


No luck. After re-installing Xcode


When triggering autocompletion it takes a good 2+ seconds for Xcode to unlock and show suggestions.

Downgrading to Xcode 8.2.1


Follow up: Downgrading to Xcode 8.2.1 WORKED! Amazing performance. Back to functioning!

If anything, 8.3.1 is more friendly in your example than earlier v8.x, I think.


Install it and let it download tools, docs, simulators etc. Might be more than an hour, so let it go for a while, then try again.


Good luck.

No changes for XCode 8.3.2.

I noticed that com.apple.dt.SourceKitService now not go through the roof with cpu usage (~40%) ... but XCode itself freezes and CPU is ~100%

AND spining wheel of rainbow ... for 5 sec at times !!! what a h.e.l.l it's taking major part of my development day .. jus waiting in frustration for wheel to finish 😟


SOLUTION: clone fresh project or clean up the project... not sure what files causes this though

I managed to get it working .. by clean clone of my project...

Something must of left behind from last XCode (in project directorys) that is not compatable with new one ....

In Xcode 8.3.0 & 8.3.1 as I type (in the editor) I keep getting spinning wheel of death? (Autocompletion related?)
 
 
Q