Using the XPath Wrappers

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.

原文地址:https://www.cnblogs.com/shenfei2031/p/2105751.html