ASIHttpRequest编译不通过
转:http://blog.sina.com.cn/s/blog_67a5e47201014tof.html
Undefined symbols for architecture i386:
- "_CFHTTPAuthenticationIsValid", referenced from:
- -[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o
- -[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o
- "_CFHTTPMessageApplyCredentialDictionary", referenced from:
- -[ASIHTTPRequest applyAuthorizationHeader] in ASIHTTPRequest.o
- -[ASIHTTPRequest applyAuthorizationHeader] in ASIHTTPRequest.o
- -[ASIHTTPRequest applyProxyCredentials:] in ASIHTTPRequest.o
- -[ASIHTTPRequest applyCredentials:] in ASIHTTPRequest.o
- "_CFHTTPMessageIsHeaderComplete", referenced from:
- -[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o
- "_kCFStreamPropertyHTTPSProxyPort", referenced from:
- _kCFStreamPropertyHTTPSProxyPort$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamPropertyHTTPSProxyPort$non_lazy_ptr)
- "_inflate", referenced from:
- +[ASIHTTPRequest uncompressZippedData:] in ASIHTTPRequest.o
- +[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] inASIHTTPRequest.o
- "_kCFStreamSSLCertificates", referenced from:
- _kCFStreamSSLCertificates$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamSSLCertificates$non_lazy_ptr)
- "_CFNetworkCopyProxiesForAutoConfigurationScript", referenced from:
- +[ASIHTTPRequest proxiesForURL:fromPAC:] in ASIHTTPRequest.o
- "_kCFProxyTypeKey", referenced from:
- _kCFProxyTypeKey$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFProxyTypeKey$non_lazy_ptr)
- "_CFReadStreamCreateForStreamedHTTPRequest", referenced from:
- -[ASIHTTPRequest startRequest] in ASIHTTPRequest.o
- -[ASIHTTPRequest startRequest] in ASIHTTPRequest.o
- "_kCFProxyPortNumberKey", referenced from:
- _kCFProxyPortNumberKey$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFProxyPortNumberKey$non_lazy_ptr)
- "_kUTTagClassMIMEType", referenced from:
- _kUTTagClassMIMEType$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kUTTagClassMIMEType$non_lazy_ptr)
- "_inflateEnd", referenced from:
- +[ASIHTTPRequest uncompressZippedData:] in ASIHTTPRequest.o
- +[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] inASIHTTPRequest.o
- +[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] inASIHTTPRequest.o
- +[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] inASIHTTPRequest.o
- +[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] inASIHTTPRequest.o
- "_inflateInit2_", referenced from:
- +[ASIHTTPRequest uncompressZippedData:] in ASIHTTPRequest.o
- +[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] inASIHTTPRequest.o
- "_kCFProxyAutoConfigurationURLKey", referenced from:
- _kCFProxyAutoConfigurationURLKey$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFProxyAutoConfigurationURLKey$non_lazy_ptr)
- "_CFHTTPAuthenticationRequiresUserNameAndPassword", referenced from:
- -[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o
- -[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o
- "_kCFHTTPAuthenticationUsername", referenced from:
- _kCFHTTPAuthenticationUsername$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFHTTPAuthenticationUsername$non_lazy_ptr)
- "_kCFStreamPropertyHTTPProxy", referenced from:
- _kCFStreamPropertyHTTPProxy$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamPropertyHTTPProxyPort$non_lazy_ptr,_kCFStreamPropertyHTTPProxyHost$non_lazy_ptr , _kCFStreamPropertyHTTPProxy$non_lazy_ptr )
- "_kCFStreamPropertyHTTPResponseHeader", referenced from:
- _kCFStreamPropertyHTTPResponseHeader$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamPropertyHTTPResponseHeader$non_lazy_ptr)
- "_CFHTTPMessageGetResponseStatusCode", referenced from:
- -[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o
- "_kCFProxyTypeHTTP", referenced from:
- _kCFProxyTypeHTTP$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFProxyTypeHTTP$non_lazy_ptr)
- "_kCFHTTPAuthenticationSchemeBasic", referenced from:
- _kCFHTTPAuthenticationSchemeBasic$non_lazy_ptr in ASIAuthenticationDialog.o
- _kCFHTTPAuthenticationSchemeBasic$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFHTTPAuthenticationSchemeBasic$non_lazy_ptr)
- "_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
- -[Reachability startNotifier] in Reachability.o
- "_SCNetworkReachabilityGetFlags", referenced from:
- -[Reachability currentReachabilityStatus] in Reachability.o
- -[Reachability isReachable] in Reachability.o
- -[Reachability isConnectionRequired] in Reachability.o
- -[Reachability isConnectionOnDemand] in Reachability.o
- -[Reachability isInterventionRequired] in Reachability.o
- -[Reachability isReachableViaWWAN] in Reachability.o
- -[Reachability isReachableViaWiFi] in Reachability.o
- -[Reachability reachabilityFlags] in Reachability.o
- "_deflateInit2_", referenced from:
- +[ASIHTTPRequest compressData:] in ASIHTTPRequest.o
- +[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o
- "_CFNetworkCopyProxiesForURL", referenced from:
- -[ASIHTTPRequest startRequest] in ASIHTTPRequest.o
- +[ASIHTTPRequest proxiesForURL:fromPAC:] in ASIHTTPRequest.o
- "_CFHTTPMessageSetHeaderFieldValue", referenced from:
- -[ASIHTTPRequest main] in ASIHTTPRequest.o
- -[ASIHTTPRequest checkRequestStatus] in ASIHTTPRequest.o
- "_kCFProxyTypeSOCKS", referenced from:
- _kCFProxyTypeSOCKS$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFProxyTypeSOCKS$non_lazy_ptr)
- "_kCFStreamPropertyHTTPAttemptPersistentConnection", referenced from:
- _kCFStreamPropertyHTTPAttemptPersistentConnection$non_lazy_ptr inASIHTTPRequest.o
- (maybe you meant: _kCFStreamPropertyHTTPAttemptPersistentConnection$non_lazy_ptr)
- "_CFHTTPMessageCopyVersion", referenced from:
- -[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o
- "_CFHTTPAuthenticationCopyRealm", referenced from:
- -[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o
- -[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o
- "_CFHTTPMessageCopyAllHeaderFields", referenced from:
- -[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o
- "_CFHTTPMessageCreateRequest", referenced from:
- -[ASIHTTPRequest main] in ASIHTTPRequest.o
- "_kCFProxyHostNameKey", referenced from:
- _kCFProxyHostNameKey$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFProxyHostNameKey$non_lazy_ptr)
- "_kCFStreamPropertyHTTPProxyHost", referenced from:
- _kCFStreamPropertyHTTPProxyHost$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamPropertyHTTPProxyHost$non_lazy_ptr)
- "_CFHTTPMessageCopyResponseStatusLine", referenced from:
- -[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o
- "_kCFStreamPropertyHTTPRequestBytesWrittenCount", referenced from:
- _kCFStreamPropertyHTTPRequestBytesWrittenCount$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamPropertyHTTPRequestBytesWrittenCount$non_lazy_ptr)
- "_deflate", referenced from:
- +[ASIHTTPRequest compressData:] in ASIHTTPRequest.o
- +[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o
- "_SCNetworkReachabilityCreateWithAddress", referenced from:
- +[Reachability reachabilityWithAddress:] in Reachability.o
- "_kCFErrorDomainCFNetwork", referenced from:
- _kCFErrorDomainCFNetwork$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFErrorDomainCFNetwork$non_lazy_ptr)
- "_kCFStreamSSLValidatesCertificateChain", referenced from:
- _kCFStreamSSLValidatesCertificateChain$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamSSLValidatesCertificateChain$non_lazy_ptr)
- "_CFHTTPAuthenticationCreateFromResponse", referenced from:
- -[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o
- -[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o
- "_deflateEnd", referenced from:
- +[ASIHTTPRequest compressData:] in ASIHTTPRequest.o
- +[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o
- +[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o
- +[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o
- "_UTTypeCopyPreferredTagWithClass", referenced from:
- +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o
- "_kCFStreamPropertyHTTPSProxyHost", referenced from:
- _kCFStreamPropertyHTTPSProxyHost$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamPropertyHTTPSProxyHost$non_lazy_ptr)
- "_kCFHTTPAuthenticationSchemeNTLM", referenced from:
- _kCFHTTPAuthenticationSchemeNTLM$non_lazy_ptr in ASIAuthenticationDialog.o
- _kCFHTTPAuthenticationSchemeNTLM$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFHTTPAuthenticationSchemeNTLM$non_lazy_ptr)
- "_CFHTTPAuthenticationCopyMethod", referenced from:
- -[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o
- -[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o
- "_kCFHTTPAuthenticationAccountDomain", referenced from:
- _kCFHTTPAuthenticationAccountDomain$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFHTTPAuthenticationAccountDomain$non_lazy_ptr)
- "_UTTypeCreatePreferredIdentifierForTag", referenced from:
- +[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o
- "_CFNetworkCopySystemProxySettings", referenced from:
- -[ASIHTTPRequest startRequest] in ASIHTTPRequest.o
- "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
- -[Reachability stopNotifier] in Reachability.o
- "_kCFStreamPropertyHTTPProxyPort", referenced from:
- _kCFStreamPropertyHTTPProxyPort$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamPropertyHTTPProxyPort$non_lazy_ptr)
- "_CFHTTPAuthenticationRequiresAccountDomain", referenced from:
- -[ASIHTTPRequest findProxyCredentials] in ASIHTTPRequest.o
- -[ASIHTTPRequest findCredentials] in ASIHTTPRequest.o
- -[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o
- -[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o
- "_SCNetworkReachabilityCreateWithName", referenced from:
- +[Reachability reachabilityWithHostName:] in Reachability.o
- "_SCNetworkReachabilitySetCallback", referenced from:
- -[Reachability startNotifier] in Reachability.o
- "_kCFHTTPAuthenticationPassword", referenced from:
- _kCFHTTPAuthenticationPassword$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFHTTPAuthenticationPassword$non_lazy_ptr)
- "_kCFHTTPVersion1_0", referenced from:
- _kCFHTTPVersion1_0$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFHTTPVersion1_0$non_lazy_ptr)
- "_kCFHTTPVersion1_1", referenced from:
- _kCFHTTPVersion1_1$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFHTTPVersion1_1$non_lazy_ptr)
- "_kCFStreamPropertySSLSettings", referenced from:
- _kCFStreamPropertySSLSettings$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamPropertySSLSettings$non_lazy_ptr)
- "_kCFStreamErrorDomainHTTP", referenced from:
- _kCFStreamErrorDomainHTTP$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kCFStreamErrorDomainHTTP$non_lazy_ptr)
- "_CFReadStreamCreateForHTTPRequest", referenced from:
- -[ASIHTTPRequest startRequest] in ASIHTTPRequest.o
- "_kUTTagClassFilenameExtension", referenced from:
- _kUTTagClassFilenameExtension$non_lazy_ptr in ASIHTTPRequest.o
- (maybe you meant: _kUTTagClassFilenameExtension$non_lazy_ptr)
- ld: symbol(s) not found
- collect2: ld returned 1 exit status
requires CFNetwork, SystemConfiguration, MobileCoreServices, and libz.
Edit: It also needs libxml2
ASIHttpRequest编译不通过的更多相关文章
- 使用ASIHTTPRequest 编译提示找不到"libxml/HTMLparser.h"的解决方法
使用ASIHTTPRequest xcode编译提示找不到"libxml/HTMLparser.h",解决方法如下: 1>.在xcode中左边选中项目的root节点,在中间编 ...
- ios 常见问题解决
一,libxml/HTMLparser.h file not find 第一种方法: 点击左边项目的根目录,再点击右边的Build Settings,手工输入文字:“Header search pat ...
- ios 常见错误整理 持续更新
本文转载至 http://blog.csdn.net/yesjava/article/details/8086185 1. mutating method sent to immutable obj ...
- 使用ASIHTTPRequest xcode编译提示找不到"libxml/HTMLparser.h"
使用ASIHTTPRequest xcode编译提示找不到"libxml/HTMLparser.h",解决方法如下: 1>.在xcode中左边选中项目的root节点,在中间编 ...
- ios编译ASIHTTPRequest时出现 'libxml/HTMLparser.h' file not found in ASIHTTPRequest
解决方法是添加libxml2.dylib 然后在Build Settings 中的 Header Search Paths 添加: ${SDK_DIR}/usr/include/libxml2
- IOS学习笔记25—HTTP操作之ASIHTTPRequest
IOS学习笔记25—HTTP操作之ASIHTTPRequest 分类: iOS2012-08-12 10:04 7734人阅读 评论(3) 收藏 举报 iosios5网络wrapper框架新浪微博 A ...
- IOS开发网络篇之──ASIHTTPRequest详解
目录 目录 发起一个同步请求 创建一个异步请求 队列请求 请求队列上下文 ASINetworkQueues, 它的delegate提供更为丰富的功能 取消异步请求 安全的内存回收建议 向服务器端上传数 ...
- ASIHTTPRequest开源类项目导入问题及解决方法
在静态库project中加入ASIHTTPRequest导出lib.a.放到project里编译出一下错: Undefined symbols for architecture armv7: &quo ...
- ASIHTTPRequest 对GET POST 请求简包
1.ASIHTTPRequest一个简短的引论 github下载链接https://github.com/pokeb/asi-http-request 2.ASIHTTPRequest 对GET和PO ...
随机推荐
- DelayedOperationPurgatory之DelayedOperation pool
purgatory就是炼狱的意思. 当一个DelayedOperation需要被delay时,它就被放到DelayedOperationPurgatory,相当于进行一个等待池.上一篇blog提到过, ...
- Unity手游:自动寻路Navmesh 跳跃 攀爬 斜坡
原地址:http://dong2008hong.blog.163.com/blog/static/46968827201403114644210/ 步骤 1.在场景中摆放各种模型,包括地板,斜坡,山体 ...
- Unity3d修改FBX文件的动画名方法
问题描述:FBX文件导入Unity3d后的动画名字一般都是 “Take 001”并且无法修改!如何修改它呢? 解决方法:解决方法其实很简单,只要你按照Unity3d的FBX文件命名规则,压根就不会存在 ...
- java基础知识回顾之java Thread类学习(四)--java多线程安全问题(锁)
上一节售票系统中我们发现,打印出了错票,0,-1,出现了多线程安全问题.我们分析为什么会发生多线程安全问题? 看下面线程的主要代码: @Override public void run() { // ...
- jQuery动画效果实现
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content ...
- Project Euler 94:Almost equilateral triangles 几乎等边的三角形
Almost equilateral triangles It is easily proved that no equilateral triangle exists with integral l ...
- eclipse安装反编译插件
1. 进入http://jadclipse.sourceforge.net/wiki/index.php/Main_Page#Download 下载 net.sf.jadclipse ...
- Hibernate逍遥游记-第13章 映射实体关联关系-001用外键映射一对一(<many-to-one unique="true">、<one-to-one>)
1. <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hi ...
- svn:...target\classes\META-INF\MANIFEST.MF (系统找不到指定的路径。)
在上传项目到svn时,pom.xml报错
- 转:[Android问答] 开发环境问题集锦
工欲善其事,必先利其器. 和iOS开发相比,Android的开发环境的版本比较多,随之而来的问题也多.显然,我们不应该浪费宝贵的时间在解决开发环境带来的问题上,为此本文总结了常见的开发环境问题和解决方 ...