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 ...
随机推荐
- POJ 2240 Arbitrage(floyd)
http://poj.org/problem?id=2240 题意 : 好吧,又是一个换钱的题:套利是利用货币汇率的差异进行的货币转换,例如用1美元购买0.5英镑,1英镑可以购买10法郎,一法郎可以购 ...
- 查杀linux线程指令
工作中重启环境时常常出现内存溢出等等问题,往往需要查杀进程来帮助重启成功,下面就查杀线程的详细指令做下总结: 1.查找需要kill掉的线程: ps -elf|grep [线程关键信息] 比如: ...
- .NET复习笔记
.NET 基础知识点汇总 课前知识储备. 一.C#与.NET的区别? 1..NET/dotnet:一般指.Net Framework框架,一种平台,一种技术 2.C#(sharp):一种编程语言,可以 ...
- @QueryParam和@PathParam比较
来源:http://jackyrong.iteye.com/blog/1128364 1 先来看@queryparam Path("/users") public class Us ...
- 51Nod 算法马拉松12 Rikka with sequences
当时做比赛的时候听说过这类用KD_Tree维护的数据结构题 然后知道是KD_Tree,然而并不知道怎么写QAQ 比赛完了之后%了一发代码 其基本思路是这样的: 1.首先我们把询问[L,R]看成二维平面 ...
- lintcode :Valid Palindrome 有效回文串
题目: 有效回文串 给定一个字符串,判断其是否为一个回文串.只包含字母和数字,忽略大小写. 样例 "A man, a plan, a canal: Panama" 是一个回文. & ...
- PowerDesigner生成的ORACLE 建表脚本中去掉对象的双引号,设置大、小写
原文:PowerDesigner生成的ORACLE 建表脚本中去掉对象的双引号,设置大.小写 若要将 CDM 中将 Entity的标识符都设为指定的大小写,则可以这么设定: 打开cdm的情况下,进入T ...
- iOS KVO的原理
KVO(Key Value Observing),是观察者模式在Foundation中的实现. KVO的原理 简而言之就是: 1.当一个object有观察者时,动态创建这个object的类 ...
- Netstat 命令
简介 Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Member ...
- 类Item_equal
class Item_equal: public Item_bool_func { List<Item_field> fields; /* list of equal field item ...