ASIHTTPRequest; installation issues

后端 未结 4 1842
时光说笑
时光说笑 2020-12-19 07:33

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

相关标签:
4条回答
  • 2020-12-19 07:47

    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

    0 讨论(0)
  • 2020-12-19 07:56

    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.

    0 讨论(0)
  • 2020-12-19 08:03

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

    0 讨论(0)
  • 2020-12-19 08:11

    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.

    0 讨论(0)
提交回复
热议问题