美文网首页iOS学习
iOS 报错file not found的~解决方法

iOS 报错file not found的~解决方法

作者: 石虎132 | 来源:发表于2018-01-18 10:06 被阅读127次

    //联系人:石虎 QQ:1224614774 昵称:嗡嘛呢叭咪哄

    一、概念

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

    #import 

    'libxml/tree.h' file not found

    二、解决方法

     1.文字展示:

      解决办法是在 Build Settings—> Search Paths / Header Search Paths/中加入:/usr/include/libxml2

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

      2.图形显示:

    谢谢!!!

    相关文章

      网友评论

        本文标题:iOS 报错file not found的~解决方法

        本文链接:https://www.haomeiwen.com/subject/nppioxtx.html