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 ...
随机推荐
- JavaSE GUI显示列表 JTable的刷新 重新加载新的数据
JTable在显示所有数据之后,假如需要搜索某个名字,则会获取新的列表数据. 假设datas是JTable的数据,定义为: private Vector<Vector> datas = n ...
- GitHub 开源工具整理
技术站点 Hacker News:非常棒的针对编程的链接聚合网站 Programming reddit:同上 MSDN:微软相关的官方技术集中地,主要是文档类 infoq:企业级应用,关注软件开发领域 ...
- lintcode:最大子数组差
题目 最大子数组差 给定一个整数数组,找出两个不重叠的子数组A和B,使两个子数组和的差的绝对值|SUM(A) - SUM(B)|最大. 返回这个最大的差值. 样例 给出数组[1, 2, -3, 1], ...
- 2014--9=17 软工二班 MyEclipse blue==4
package cn.rwkj.test; import java.io.IOException; import java.io.InputStream; import java.io.OutputS ...
- win32 api ShouCursor 根据内部计数器 是否>= 0 决定是否 显示光标,每true时计数器+1,每false-1
win32 api ShouCursor 根据内部计数器 是否>= 0 决定是否 显示光标,每true时计数器+1,每false-1,编程时true 和 false 的次数容易产生bug.
- Android 在Intent中传递接口
总结:在Activity中不能用intent传递匿名接口,原因如下:Activity A中生成了匿名接口M, 这个接口的引用就在组Activity A中,Activity A会禁止接口M 序列化.因为 ...
- 如何用Maven创建一个普通Java项目
一下内容包括:用Maven创建一个普通Java项目,并把该项目转成IDEA项目,导入到IDEA,最后把这个项目打包成一个jar文件. 有时候运行mvn命令失败,重复运行几次就OK了,无解(可能因为网络 ...
- Topcoder 练习小记,Java 与 Python 分别实现。
Topcoder上的一道题目,题目描述如下: Problem Statement Byteland is a city with many skyscrapers, so it's a pe ...
- vs2012 arcgis engine 10 丢失arcgis模板
1.Visual Studio 2012环境下安装ArcGIS Engine 10 Visual Studio 2012环境下安装ArcObject SDK for the Microsoft .Ne ...
- (1)WinForm和WebForm
如上所述,WinForm程序通常分为四层,而WebForm程序通常分为三层. 举例说明,winForm程序: IEnumerable<BatchUpdateResult<string, ...