Due to the use of third-party HTML parsing class library Hpple,
After importing the frame libxml2.2.dylib,
Most of the things that Xcode still can't find <libxml/tree.h>,
The final resolution process is as follows:
1 , Build P hases in project -targets,
Find Link Binary with Libraries ,
Click "+", Add "Libxml2.dylib"
2 , the same, switch to Buiild Settings 's tab ,
by searching, find the "Linking" option box,
It 's in there. "Other Linker Flags" the debug and release inside click "+",
Add "-LXML2"
3 , follow the steps 2 , still in the tab of buiild Settings ,
by searching, find Framework Search,
add "/usr/lib/libxml2.dylib";
4 , follow the steps 3 , still in the tab of buiild Settings ,
by searching, fill in the "header search Paths" and "User header Search Paths" $ (sdkroot)/USR/INCLUDE/LIBXML2.
Then Clean the project, just OK, you can use it.
Ios_ after importing the libxml2.2 framework, there is no workaround for <libxml/tree.h>