My project was created in Xcode 3, I\'m opening it in Xcode 4 and notice the following:
In our case the culprit turned out to be old version of the three20 libs. To get the project working I had to:
As soon as the new library was installed, xcode4 automatically reindexed. Code completion, jump to definition and even Refactor all work now. The Joy(tm) of working with Xcode is back! :)
In more general terms, any library that puts it header files into BUILT_PRODUCT_DIR is likely to have similar issues.