xcode 出现libxml/tree.h编译错误解决办法

XCODE ,  Project -> Edit Project Settings -> Build 

You need to add “/usr/include/libxml2″ to the “Header Search Paths” and you need to add “-lxml2″ to the “Other Linker Flags”.



要注意的是/usr/include/libxml2 后面不能有/**


你可能感兴趣的:(xcode 出现libxml/tree.h编译错误解决办法)