关于 libxml/tree.h' file not found

来源:互联网 发布:数据库包括 编辑:程序博客网 时间:2024/05/21 20:28

libxml/tree.h' file not found

下载个程序换了下libxml2.dylib 提示错误libxml/tree.h' file not found


于是网上寻求答案 很多都是说 将Header Search Paths  设为 '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/libxml2'

但是  运行还是行不通


终于找到答案了将Header Search Paths 设为  ${SDKROOT}/usr/include/libxml2 

原来是因为我的base sdk 是6.1的