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 "+" to add "Libxml2.dylib"
2, the same, switch to buiild Settings tab,
By searching, find the "Linking" option box,
In the inside of "other Linker Flags" of the Debug and release inside click "+",
Add "-LXML2"
3, as in step 2, still in the Buiild Settings tab,
Search to find the Framework search,
Add "/usr/lib/libxml2.dylib";
4, as in step 3, still in the Buiild Settings tab,
Through the search, in "header Search Paths" and "User header search Paths" filled in $ (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>