IOS XMPP引入时产生错误信息 “libxml/tree.h no such file or directory”

来源:互联网 发布:2017金英杰免费网络课 编辑:程序博客网 时间:2024/04/30 22:06
在引入 XMPP 协议的 github API 时,关联 Dictionary 和 liabrary 结束后,弹出了

libxml/tree.h no such file or directory

的错误信息,主要是 libxml2.dylib 的关联出现了错误,在 stackoverflow 上查到解决办法:http://stackoverflow.com/questions/1428847/libxml-tree-h-no-such-file-or-directory
其中自己验证在 Xcode 6 上可用的为:


若使用上述全部步骤,出现编译错误:


则可以考虑尝试只执行第二步中的设定 Header Search Paths,而不设定其他两项,应该仍能正常编译,运行。
0 0
原创粉丝点击