您的位置:首页 > 其它

'libxml/tree.h' file not found

2014-05-12 11:41 316 查看
今天运行了下程序 直接报红-- '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'

看看Base SDK 为 ios 6.1

于是把Header Search Paths 该为

'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/include/libxml2'

问题解决,但是有一个问题,如果这样做的话每升级一次版本就要修改一次。

正确做法因该是Header Search Paths 该为 ${SDKROOT}/usr/include/libxml2
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: