iOS程序添加libxml2支持菜单Project->Edit Project Settings,“Header Search Paths”项,添加:“${SDKROOT}/usr/include/libxml2″,如果无效,将“recursive”选中。