Header file not found

10,656

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

Share:
10,656
Denis Kutlubaev
Author by

Denis Kutlubaev

iOS developer

Updated on June 29, 2022

Comments

  • Denis Kutlubaev
    Denis Kutlubaev almost 2 years

    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
    
  • Denis Kutlubaev
    Denis Kutlubaev almost 12 years
    I have done this to make it working. I created a folder of this structure : Libetpan/libetpan/libetpan.h. All header files were inside Libetpan/libetpan. Then I put this folder Libetpan to the project next to my *.xcodeproj file. Then I added this "./Libetpan" to the Build Settings of my Target in Header Search Paths.