Note After Xcode7.1 the original. Dylib suffix is changed to. TBD
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 phases in Project-targets,
Find link Binary with Libraries,
Click "+" to Add "Libxml2.tbd "
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.tbd";
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, which can be used, and also need to resolve the imported
The compatibility problem between ARC and MRC of Gdataxmlnode
。
Resolve (Gdataxmlnode error) libxml2.tbd no path found in Xcode