最佳答案
在build设置中添加
- header 搜索路径:
$SDKROOT/usr/include/libxml2
- 其他链接器标志:
-lxml2
Xcode 8 不需要在 Linked Frameworks and Libraries 中显式添加 libxml2
。
关于ios - 缺少所需的模块 'libxml2',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42557715/
最佳答案
在build设置中添加
$SDKROOT/usr/include/libxml2
-lxml2
Xcode 8 不需要在 Linked Frameworks and Libraries 中显式添加 libxml2
。
关于ios - 缺少所需的模块 'libxml2',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42557715/