I have added a include directory in my home directory. I can run "ls -l ~/include" from the build directory. I have added that directory in both "Header Seach Path" and in "User Header Search Path". In both places I have tried with both non-recursive and recursive. But xcode 4.5.1 can not in any situation find the first stated header file.
It is stated in source code calls.m as:
#include <directory/file.h>
I get a "Lexical or Preprocessor issue 'directory/file.h' file not found."
But when running xcodebuild from cli it has no problems what so ever to build the source.
I have tried many of the suggestions found on internet
- Putting a include in /usr/ om my drive
- Adding a index to the project, adding files with no copy and no "Add to target" marked.
- Restart xcode.
- Specifying all specific paths.
But still no go.
What is the problem. Bug´s in xcode?