Hi in my Xcode project I included libxml2.dylib
framework. I am still getting a error:
libxml2/tree.h not found.
How to resolve this issue?
I didn't give any search header paths. I am using Xcode 4.2
Hi in my Xcode project I included libxml2.dylib
framework. I am still getting a error:
libxml2/tree.h not found.
How to resolve this issue?
I didn't give any search header paths. I am using Xcode 4.2
In my own projects that use libxml2, I modified the Header Search paths to explicitly tell the compiler where to find the header files:
As you can tell from the "$(SDKROOT)
" bit, it's actually built into the SDK that gets installed with Xcode.
change the Header Search Paths to this:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/libxml2
you are welcome :)
Read this documents.........i think this url is helpful for you....
see this topic in this url Setting up your project file
if you did not know header search path in Xcode , then follow step
go to target->click on BUild Setting-> search heder in search bar -> then you see search Path -> and check header search path
you go in Build Phase "Link with binary Libarys" and add libxml2 frame work
You follow all step after use step then click all tab (not combined tab)
I have similar issue and fix issue by following steps as per this article :
http://www.optimusmobility.com/2013/06/11/how-to-resolve-libxmltree-h-file-not-found-error/