IOS XMPP引入時產生錯誤信息 “libxml/tree.h no such file or directory”

在引入 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,而不設定其他兩項,應該仍能正常編譯,運行。
發佈了18 篇原創文章 · 獲贊 6 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章