when I add new line on my code, it stop responding showing rainbow loading

wow, this drive me crazy.

I have plenty of storage left after reboot after remove xcode and re install dont solve this problem.

funny thing is that editing as is code is okay. but just add new line cause infinite loading

Hard to say with so limited information.

Could you show the context ?

  • is it SwiftUI code, with active preview ?
  • Does it happen when you add code anywhere in the project or at some specific place ?
  • if at specific place, please show the code.
  • Does it occur for whatever code you insert or only for some specific code ?
  • if specific, please show.
  • which version of Xcode, MacOS ?
when I add new line on my code, it stop responding showing rainbow loading
 
 
Q