As we all know, xcode has been known to cause autocomplete issues. There are some fixes like cleaning the build folder or disable autocompletion - restart Xcode - restart Xcode again and enable it.
In my case Xcode just takes a lot of time to get the right autocompletion. Has any of you had this problem and if how did you fix it?
I also cleaned the build folder and restarted Xcode and my Mac several times.
I am running Xcode on a Mac Mini M1 16GB