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 ...
随机推荐
- ubantu安装jdk来配置hadoop
1.将jdk-7u5-linux-x64.tar.gz拷贝到/usr/lib/jdk/目录下面,这里如果没有jdk文件夹,则创建该文件夹,命令: sudo mkdir jdk //创建文件夹jdk s ...
- Oracle 9 - 分析undo和snapshot too old错误
什么操作会生成undo INSERT生成的UNDO最少,只要记录新的rowid UPDATE生成的undo多一点,它要记录修改前的数据中的那部分. DELETE生成最多的undo, 因为它要记录整行被 ...
- 安装ubuntu vi编辑无法正常使用的时候 如方向键变成ABCD
http://blog.sina.com.cn/s/blog_7e3f6e8f0100vkon.html 在使用ubuntu的时候,发现vi编辑模式下退格键backspace和上下左右光标移动键不能用 ...
- 李洪强iOS之Foundation框架—字符串
Foundation框架—字符串 一.Foundation框架中一些常用的类 字符串型: NSString:不可变字符串 NSMutableString:可变字符串 集合型: 1) NSArray:O ...
- lintcode 中等题:Min stack 最小栈
题目 带最小值操作的栈 实现一个带有取最小值min方法的栈,min方法将返回当前栈中的最小值. 你实现的栈将支持push,pop 和 min 操作,所有操作要求都在O(1)时间内完成. 解题 可以定义 ...
- Project Euler 98:Anagramic squares 重排平方数
Anagramic squares By replacing each of the letters in the word CARE with 1, 2, 9, and 6 respectively ...
- C++:对象指针
对象指针概念:每一个对象在初始化后都会在内存中占有一定的空间.因此,既可以通过对象名访问, 也可以通过一个对象地址来访问一个对象.对象指针就是用于存放对象地址的变量. 声明对象指针的一般语法格式为:类 ...
- nodejs搭配phantomjs highcharts后台生成图表
简单分享一下,后台使用nodejs结合highcharts.phantomjs生成报表图片的方法.这主要应用在日报邮件. 主要参考以下资料: http://www.highcharts.com/com ...
- 关于为什么java需要垃圾回收
为什么java采用垃圾回收而c++却不采用,这是因为在java中,所有对象变量都是引用,当一个引用被新对象覆盖掉时,就没有引用指向原来的对象了,这个对象就“失控了”. 而C++中,除非使用特殊符号&a ...
- maven小项目注册服务(三)--web模块
java的web应用打包方式一般为war它和jar的区别就是包含了更多的资源和文件,如JSP文件,静态资源文件,servlet等等.war包的核心就WEB-INF文件夹下必须有一个web.xml 的配 ...