I have a project where Xcode 4 stopped indexing. As a consequence neither the complete class browser (symbol navigator) nor code sense work. 0 Classes and Protocols etc. are shown. I restarted indexing process by removal of some temporary files in the derived data and the xcodeproj area. But this does not help. Does anyone know what can Xcode prevent from indexing?
I rebuilt the whole project and hopefully found the reason: In my-Prefix.pch file I included #import <myheader.h>, where myheader.h was resolved via Header Search Path. When I changed this line to #import "myheader.h", code sense and class browser worked again.
This occurs a few times a week on my mac.
Hope this will work for you too.
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