我有以下错误.
libxml/tree.没有这样的文件或目录
我已经在我的项目中增加了libxml2.dylib
个,但是我遇到了这样的麻烦.
我有以下错误.
libxml/tree.没有这样的文件或目录
我已经在我的项目中增加了libxml2.dylib
个,但是我遇到了这样的麻烦.
按照"设置项目文件"下的说明here进行操作
设置项目文件
您需要添加libxml2.将动态库添加到项目中(不要将其放在框架部分).在Mac上,
Since libxml2 is a .dylib (not a nice friendly .framework) we still have one more thing to do. Go to the Project build settings (Project->Edit Project Settings->Build) and find the "Search Paths". In "Header Search Paths" add the following path:
$(SDKROOT)/usr/include/libxml2