ASIHTTPRequest; installation issues

為{幸葍}努か 提交于 2019-11-29 10:32:50

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

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

a paid nerd

Follow the ASIHttpRequest Setup Instructions:

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

...and so forth.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!