ios 中的file not found的解决方法

来源:互联网 发布:php课程表页面代码 编辑:程序博客网 时间:2024/06/05 15:25

在项目碰到'libxml/tree.h' file not found的错误提示,双击错误提示,然后就跳转到了出错的代码处:

#import <libxml/tree.h>


'libxml/tree.h' file not found   


解决办法是在Build Settings/Search Paths/Header Search Paths/中加入:


/usr/include/libxml2


即告诉编译器你的libxml2所在的目录。


原创粉丝点击