I have encountered a situation where xcode stops auto-completing and if you try to write a variable that already been defined xcode says << error type>>
<< error type>>
I faced the same issue recently. I tried running the whole project on an emulator, it resolved all the <>
<>