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 , 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 后面不能有/**