Xcode could not index the header file

234 Views Asked by At

When I used Xcode 6 to develop an iOS app, I found Xcode cannot index names when I set up a separate header file.

The detailed situation is like this:

I set up a separate header file named TestClass.h, and imported Foundation/Foundation.h. However, no auto completion when I tried to enter NSObject, and when I press COMMAND and click Foundation/Foundation.h, "Symbol not found" appears.

I have tried to delete the derived data and re-open Xcode, but it did not help.

Is there any solution to this problem?

0

There are 0 best solutions below