When I use hpple and build, aways show " 'libxml/tree.h' file not found " error.
I have , set [Header Search Path] "${SDKROOT}/usr/include/libxml2" set [Other Linker Flag] value as "-lxml2"
Oh, sorry, I just set the TARGETS's Build Settings forgot set the PROJECT -->Build Settings.
Step 1: Target--> In Build settings-->Header search path-->press return(enter) key--->replace /usr/include/libxml2
Step 2: Target--> In Build phase--> confirm it whether "libxml2.dylib"
framework is present, if not added
Step 3: Target--> In Build phase--> search libxml2.dylib
then click add button
Refer Screenshot:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With