Import an external library into an Xcode project

For some reason, when I try to import a library into my xcode project, it does not recognize it. It says:

Libxml / xmlversion.h: No such file or directory

ect, ect

Why am I getting this? I have imported them, and I see them in the "linked frames" folder. I actually just imported other frameworks / libraries and application code, so I can add it to my application ... it compiles in another application that I copied, but when I import it into mine, it does not work.

+3
source share
1 answer

You need to add to the "Header Search Paths" in the xcode project settings. For libxml2, the path is as follows:${SDKROOT}/usr/include/libxml2/libxml/**

+1
source

All Articles