Xcode AutoFill stopped working

Xcode 6 Beta 5 and autocomplete has stopped working. I was thinking about a problem in beta 5, but I reinstalled it on Beta 4 and still didn't work, but before. I check the settings for the "suggestions" and I tried to remove Derived Data, but this does not help

+5
source share
7 answers

I have found a solution. The problem was in the array. I have a large array like: let array:[NSString] = ["first","second"...] I changed it to var array = ["first","second"...] I do not understand why this is happened, but it works. It was hard to find a problem.

+2
source
  • Clear the received data.
  • In the build settings, select "Always search for user paths" to "YES."
  • Clean up the project.
+12
source

This happened to me recently because I had a comment / * * / style after @end of my @implementation.

I don’t know why this would break autocomplete, but by moving the comment to fixed implementation autocomplete.

There seem to be many reasons for autocomplete overflow. Just adding to the list.

+5
source

I had this problem.

This is what worked for me.

  • Clear the received data.

Window β†’ Organizer β†’ "Select Project" β†’ Delete Derived Data.

  1. Clean up project

  2. Close Xcode ----- this is very important. You may need to restart your computer.

  3. Open Xcode again

Hope this works for you. It worked on 9/9/2015

+2
source

Check if the .m file has been installed in the Target Membership section

+2
source

Tried to clear / delete derived data several times. Autocomplete has been disabled in some files, but not the App Delegate. After a while, I saw red libraries in his project navigator. They are controlled by cocoapods. The solution turned out to be:

  • Go to the project root folder
  • Delete the "Pods" directory
  • open terminal type cd
  • drag the project folder there to get the full path
  • run pod install

After reinstalling the containers in the affected files, syntax highlighting and code completion are restored.

0
source

For me, this was because it was a new issue since updating my version of Xcode. After loading the documentation, everything worked fine again.

0
source

Source: https://habr.com/ru/post/1200632/


All Articles