Search code examples
objective-ciosxcode4

Header file not found


I have a project, which has a static library with references to header files like this:

#import <libetpan/libetpan.h>

I can't change this import line. What should I do, to make Xcode find those header files? I have a folder with header files, that I can import to the project. Thanks.

At the moment the error is following:

'libetpan/libetpan.h' file not found

Solution

  • You may have added the libetpan folder to your project (if not, do so)

    right click on that folder and see the path (get info after right click)

    if its not a sibling of your project file in the folder structure (check in finder), thats where its going wrong

    alternately, you could add header search paths: header search path in XCode 4