官网:http://allseeing-i.com/ASIHTTPRequest/
如果不能确定所需要的文件,那么将以下列表中的文件全部添加到项目中
ASIHTTPRequestConfig.h
ASIHTTPRequestDelegate.h
ASIProgressDelegate.h
ASICacheDelegate.h
ASIHTTPRequest.h
ASIHTTPRequest.m
ASIDataCompressor.h
ASIDataCompressor.m
ASIDataDecompressor.h
ASIDataDecompressor.m
ASIFormDataRequest.h
ASIInputStream.h
ASIInputStream.m
ASIFormDataRequest.m
ASINetworkQueue.h
ASINetworkQueue.m
ASIDownloadCache.h
ASIDownloadCache.m
iPhone 项目还必须包括:
ASIAuthenticationDialog.h
ASIAuthenticationDialog.m
Reachability.h (in the External/Reachability folder)
Reachability.m (in the External/Reachability folder)
添加ASIHTTPRequest中依赖的Frameworks
CFNetwork, SystemConfiguration, MobileCoreServices, CoreGraphics and libz.dylib
添加方法:依次点击Target->Build Phases->Compile Sources,点击底部“+”,在弹出的列表搜索添加