I got an error in XCode 4 Issue Navigator,but in Log Navigator there is no error.After restart XCode,the error was erase.
//************************************************************************************
I had the same problem in XCode 4: "Lexical or preprocessor issue MyFile.h not found". However, MyFile.m was not a static library, just a standard class. And MyFile.m and MyFile.h were included properly and indexed in the project.
So ... I quit XCode and the Simulator, then restarted them and the problem disappeared.