Skip to content

Instantly share code, notes, and snippets.

@cocoajin
Last active February 19, 2017 04:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cocoajin/9946812 to your computer and use it in GitHub Desktop.
Save cocoajin/9946812 to your computer and use it in GitHub Desktop.
ASIHttpRequest配置
/*
安装:配置
1:所需frame.work;
CFNetwork, SystemConfiguration, MobileCoreServices, CoreGraphics and libz.dylib libxml2.dylib
3: 删除 Tests文件夹里面的测试
2: ASI Tests 需要 https://github.com/gh-unit/gh-unit/tree/master 然后导入 :GHUnitIOS.framework
3:bulid setting Header search path 添加 /usr/include/libxml2
4:在 test/ASIDataCompareTest.m中有个 NStask错误,删除文件即可;
5: 如果使用 Test文件加里面的东西,使用 GHUnitIOS.framework http://stackoverflow.com/questions/13925437/ghunitios-ghunit-h-file-not-found-in-xcode
官方文档:http://allseeing-i.com/ASIHTTPRequest/How-to-use
*/
@lpcclown
Copy link

run 的时候会报一个错误 “clang: error: linker command failed with exit code 1 (use -v to see invocation)” 有遇到过么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment