I'm having a problem where autocomplete simply doesn't show up. For example, if I try accessing a window's rootViewController, the Intellisense view doesn't even appear. If I press Control-Space, all that appears is a tiny view which reads, "No Completions."

On the previous symbol, in this example, the window property on my object, Intellisense appears, but it identifies the property as being of type int *.

I have done all of the obvious things (perform a clean, clear derived data, restart Xcode, reboot device) but the issue persists.
I've found several pages (both StackOverflow and articles elsewhere) about similar, though not identical, issues and have yet to come up with a solution.
How can I get autocomplete working again?
I am also having same problem, autocomplete is not working in my project. I have gone through following steps. And it worked
#import Foundation frameworksOpen up build phases of your project in xcode. Add Foundation framework

Now go to your project folder from finder right click on your .xcodeproj file.Choose
Show Package Contents
Now choose select
xcuserdata
and delete the folder inside xcuserdata

This ended up being related to a non-portable path in an import, which was breaking Intellisense. My team has a large project with several other projects included as libraries. The main project would include one of them with:
#import "LibraryName/LibraryName.h"
In one instance, the library project was also performing this same import. I fixed this by having the library import the specific headers it needed from itself.
#import "LibraryComponent.h"
#import "NSString+LibraryCategory.h"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With