Xcode 4 code sense is not working

Okku picture Okku · Mar 25, 2011 · Viewed 30.5k times · Source

I am running a "old" Xcode 3 project in Xcode 4 and code sense is not working for my own classes. I have tried following:

  • Clean/rebuild
  • Remove Derived Data
  • Installing 4.3 documentation
  • Restart

Without any luck.

Sometimes the code sense works but mostly I just get "No Completions".

Answer

Saikat picture Saikat · Jun 5, 2011

Try this:

Open Organizer then Project Tab.

Clear the "Derived Data". Xcode should re-index your project then and code sense should work. At least worked for me.