1. Click current project and find Header Search Paths files double-click on the entry filed.
2. Click the + button and add ${SDKROOT}/usr/include/libxml2 to the paths
3. Then in the Linking subsection of this window, double-click on the Other Linker Flags field and click +. Add –lxml2 to the flags and then click OK.