Xcode14 code snippets if statements does't work

After I updated Xcode to version 14.0, I found that the code snippets if statements doesn't work in Objective-C projects as I typing 'if' although it still works in Swift as ususal. But ife(if-else) still work as well. How to fix it in Objective-C projects? 

Has anyone been in a similar situation?

Yes, I am seeing this.

It's kind of flaky...

  • if doesn't offer auto-complete
  • for does

I tried:

  • Product > Clean Build Folder

...which temporarily fixed the issue, but soon after, it started happening again. I also tried deleting the Derived Data folder, with no effect.

Xcode Version 14.0.1 (14A400), Objective-C.

Same problem, lol

Same problem, any solutions?

I'm having the same issue

Version 14.3 (14E222b) still the same

Me too, searched everywhere and found no solution, stupid xcode