A problem was imported when importing the ASIHTTPRequest package libxml2.dylib, but prompted Libxml/htmlparser. h File not found , that's because your development environment default path can not find this libxml2.dylib framework, modify method: (two ways to try it) the first method: (I do) Click on the left side of the project's root directory, and then click on the right of the build Settings, manually enter the text: " Header search paths, and then click (or double click, click on the "+" sign below the popup panel to add) "header search paths" to the right of the blank, enter:/USR/INCLUDE/LIBXML2 if not, Try this method: Click on the left side of the project's root directory, then click on the right of the build Settings, manually enter the text: "Header search Paths", and then click (or double tap, click on the "+" below the popup panel to add) "header search paths "To the right of the Blank space, enter: ${SDK_DIR}/USR/INCLUDE/LIBXML2
Libxml/htmlparser.h file