iOS学习

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

2018-01-18  本文已影响127人  石虎132

//联系人:石虎 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.图形显示:

谢谢!!!

上一篇下一篇

猜你喜欢

热点阅读