使用 CocoaHTTPServer 的時候,報錯 libxml/parser.h not found
解決辦法:添加鏈接庫 libxml2.dylib
在 header search paths 處 添加 ${SDK_DIR}/usr/include/libxml2
這裏說明一下,有的教程說,在此處添加
${SDK_ROOT}/user/include/libxml2, 這個應該是在開發Mac應用時需要改爲這樣,我的iOS 應用。
使用 CocoaHTTPServer 的時候,報錯 libxml/parser.h not found
解決辦法:添加鏈接庫 libxml2.dylib
在 header search paths 處 添加 ${SDK_DIR}/usr/include/libxml2
這裏說明一下,有的教程說,在此處添加
${SDK_ROOT}/user/include/libxml2, 這個應該是在開發Mac應用時需要改爲這樣,我的iOS 應用。