Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does .h need to be included when using header search path?

Tags:

xcode

iphone

  • I'm referencing a static library.

  • I've dragged the library project into my app project and reference it relatively.

  • The .a file from the library is linked into my app target.

  • I've added a reference to the librarys .h files' folder via Header Search Paths in the app project.

  • Then I add an import in my apps .pch file to a particular .h file from the library.

I build and get this error:

some.h: No such file or directory

The project is given info on where to find .h files for the library. Why can't it see them?

like image 902
4thSpace Avatar asked Dec 01 '25 05:12

4thSpace


1 Answers

Try with

#import <some.h>

instead of

#import "some.h"
like image 69
IlDan Avatar answered Dec 03 '25 19:12

IlDan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!