7
votes

I am trying to install ASIHTTPRequest and i am having issues with libxml/HTMLParser, xmlsave, xpath and xpathInternals are missing. I have already included the libxml2.2.7.3 framework and followed the guide on their website to the letter.

any suggestions? alt text

4
i have included CFNetwork,MobileCoreServices,SystemConfiguration,libbz2,Foundation,Coregraphics,libxml as wellVeeru

4 Answers

12
votes

You note that you've followed the instructions to the letter, though I don't see libz.1.2.3.dylib in your post or in your comments. Are you certain you have libz.1.2.3?

Note that it is not the same as libbz2 or libxml2. If you filter by dylibs it's right near the bottom.


Edited to add the real answer, as discovered through a lengthy back-and-forth in the comments

Adjust your Header Search Paths to: ${SDK_DIR}/usr/include/libxml2, as explained in the special instructions for ASIWebPageRequest at: allseeing-i.com/ASIHTTPRequest/ASIWebPageRequest

1
votes

Make sure you put "$(SDKROOT)/usr/include/libxml2" in your Header Search Paths inside the build settings of your project

0
votes

Follow the ASIHttpRequest Setup Instructions:

Open the Build Phases tab, expand the box labeled Link Binary With Libraries then click the plus button.

linkbin

...and so forth.

-1
votes

ASIWebPageRequest is not necessary unless you specifically need this, in fact its currently experimental. If you do want to use it you need to add the libxml framework.