ASIHttpRequest编译不通过
来源:互联网 发布:apache mime类型 json 编辑:程序博客网 时间:2024/04/28 13:28
转:http://blog.sina.com.cn/s/blog_67a5e47201014tof.html
Undefined symbols for architecture i386:
"_CFHTTPAuthenticationIsVa lid" , referenced from:-[ASIHTTPRequest attemptToApplyProxyCrede ntialsAndResume ] in ASIHTTPRequest.o-[ASIHTTPRequest attemptToApplyCredential sAndResume ] in ASIHTTPRequest.o"_CFHTTPMessageApplyCreden tialDictionary" , referenced from:-[ASIHTTPRequest applyAuthorizationHeader ] in ASIHTTPRequest.o -[ASIHTTPRequest applyAuthorizationHeader ] in ASIHTTPRequest.o -[ASIHTTPRequest applyProxyCredentials:] in ASIHTTPRequest.o -[ASIHTTPRequest applyCredentials:] in ASIHTTPRequest.o "_CFHTTPMessageIsHeaderCom plete" , referenced from:-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o "_kCFStreamPropertyHTTPSPr oxyPort" , referenced from:ASIHTTPRequest.o _kCFStreamPropertyHTTPSPr oxyPort$non_lazy_ptr in (maybe you meant: _kCFStreamPropertyHTTPSPr oxyPort$non_lazy_ptr )"_inflate", referenced from: +[ASIHTTPRequest uncompressZippedData:] in ASIHTTPRequest.o +[ASIHTTPRequest uncompressZippedDataFrom Source :toDestination:] inASIHTTPRequest.o"_kCFStreamSSLCertificates " , referenced from:ASIHTTPRequest.o _kCFStreamSSLCertificates $non_lazy_ptr in (maybe you meant: _kCFStreamSSLCertificates $non_lazy_ptr )"_CFNetworkCopyProxiesForA utoConfigurationScript" , referenced from:+[ASIHTTPRequest proxiesForURL:fromPAC:] in ASIHTTPRequest.o "_kCFProxyTypeKey", referenced from: ASIHTTPRequest.o _kCFProxyTypeKey$non_lazy_ptr in (maybe you meant: _kCFProxyTypeKey$non_lazy_ptr) "_CFReadStreamCreateForStr eamedHTTPRequest" , referenced from:-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o -[ASIHTTPRequest startRequest] in ASIHTTPRequest.o "_kCFProxyPortNumberKey", referenced from: ASIHTTPRequest.o _kCFProxyPortNumberKey$non_lazy_ptr in (maybe you meant: _kCFProxyPortNumberKey$non_lazy_ptr) "_kUTTagClassMIMEType", referenced from: ASIHTTPRequest.o _kUTTagClassMIMEType$non_lazy_ptr in (maybe you meant: _kUTTagClassMIMEType$non_lazy_ptr) "_inflateEnd", referenced from: +[ASIHTTPRequest uncompressZippedData:] in ASIHTTPRequest.o +[ASIHTTPRequest uncompressZippedDataFrom Source :toDestination:] inASIHTTPRequest.o+[ASIHTTPRequest uncompressZippedDataFrom Source :toDestination:] inASIHTTPRequest.o+[ASIHTTPRequest uncompressZippedDataFrom Source :toDestination:] inASIHTTPRequest.o+[ASIHTTPRequest uncompressZippedDataFrom Source :toDestination:] inASIHTTPRequest.o"_inflateInit2_", referenced from: +[ASIHTTPRequest uncompressZippedData:] in ASIHTTPRequest.o +[ASIHTTPRequest uncompressZippedDataFrom Source :toDestination:] inASIHTTPRequest.o"_kCFProxyAutoConfiguratio nURLKey" , referenced from:ASIHTTPRequest.o _kCFProxyAutoConfiguratio nURLKey$non_lazy_ptr in (maybe you meant: _kCFProxyAutoConfiguratio nURLKey$non_lazy_ptr )"_CFHTTPAuthenticationRequ iresUserNameAndPassword" , referenced from:-[ASIHTTPRequest attemptToApplyProxyCrede ntialsAndResume ] in ASIHTTPRequest.o-[ASIHTTPRequest attemptToApplyCredential sAndResume ] in ASIHTTPRequest.o"_kCFHTTPAuthenticationUse rname" , referenced from:ASIHTTPRequest.o _kCFHTTPAuthenticationUse rname$non_lazy_ptr in (maybe you meant: _kCFHTTPAuthenticationUse rname$non_lazy_ptr )"_kCFStreamPropertyHTTPPro xy" , referenced from:ASIHTTPRequest.o _kCFStreamPropertyHTTPPro xy$non_lazy_ptr in (maybe you meant: _kCFStreamPropertyHTTPPro xyPort$non_lazy_ptr ,_kCFStreamPropertyHTTPProxyHost$non_lazy_ptr , _kCFStreamPropertyHTTPProxy$non_lazy_ptr )"_kCFStreamPropertyHTTPRes ponseHeader" , referenced from:ASIHTTPRequest.o _kCFStreamPropertyHTTPRes ponseHeader$non_lazy_ptr in (maybe you meant: _kCFStreamPropertyHTTPRes ponseHeader$non_lazy_ptr )"_CFHTTPMessageGetResponse StatusCode" , referenced from:-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o "_kCFProxyTypeHTTP", referenced from: ASIHTTPRequest.o _kCFProxyTypeHTTP$non_lazy_ptr in (maybe you meant: _kCFProxyTypeHTTP$non_lazy_ptr) "_kCFHTTPAuthenticationSch emeBasic" , referenced from:ASIAuthenticationDialog.o _kCFHTTPAuthenticationSch emeBasic$non_lazy_ptr in ASIHTTPRequest.o _kCFHTTPAuthenticationSch emeBasic$non_lazy_ptr in (maybe you meant: _kCFHTTPAuthenticationSch emeBasic$non_lazy_ptr )"_SCNetworkReachabilitySch eduleWithRunLoop" , referenced from:-[Reachability startNotifier] in Reachability.o "_SCNetworkReachabilityGet Flags" , referenced from:-[Reachability currentReachabilityStatu s ] 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 "_CFNetworkCopyProxiesForU RL" , referenced from:-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o +[ASIHTTPRequest proxiesForURL:fromPAC:] in ASIHTTPRequest.o "_CFHTTPMessageSetHeaderFi eldValue" , referenced from:-[ASIHTTPRequest main] in ASIHTTPRequest.o -[ASIHTTPRequest checkRequestStatus] in ASIHTTPRequest.o "_kCFProxyTypeSOCKS", referenced from: ASIHTTPRequest.o _kCFProxyTypeSOCKS$non_lazy_ptr in (maybe you meant: _kCFProxyTypeSOCKS$non_lazy_ptr) "_kCFStreamPropertyHTTPAtt emptPersistentConnection , referenced from:" ASIHTTPRequest.o _kCFStreamPropertyHTTPAtt emptPersistentConnection $non_lazy_ptr in (maybe you meant: _kCFStreamPropertyHTTPAtt emptPersistentConnection )$non_lazy_ptr "_CFHTTPMessageCopyVersion " , referenced from:-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o "_CFHTTPAuthenticationCopy Realm" , referenced from:-[ASIHTTPRequest attemptToApplyProxyCrede ntialsAndResume ] in ASIHTTPRequest.o-[ASIHTTPRequest attemptToApplyCredential sAndResume ] in ASIHTTPRequest.o"_CFHTTPMessageCopyAllHead erFields" , referenced from:-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o "_CFHTTPMessageCreateReque st" , referenced from:-[ASIHTTPRequest main] in ASIHTTPRequest.o "_kCFProxyHostNameKey", referenced from: ASIHTTPRequest.o _kCFProxyHostNameKey$non_lazy_ptr in (maybe you meant: _kCFProxyHostNameKey$non_lazy_ptr) "_kCFStreamPropertyHTTPPro xyHost" , referenced from:ASIHTTPRequest.o _kCFStreamPropertyHTTPPro xyHost$non_lazy_ptr in (maybe you meant: _kCFStreamPropertyHTTPPro xyHost$non_lazy_ptr )"_CFHTTPMessageCopyRespons eStatusLine" , referenced from:-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o "_kCFStreamPropertyHTTPReq uestBytesWrittenCount" , referenced from:ASIHTTPRequest.o _kCFStreamPropertyHTTPReq uestBytesWrittenCount$non_lazy_ptr in (maybe you meant: _kCFStreamPropertyHTTPReq uestBytesWrittenCount$non_lazy_ptr )"_deflate", referenced from: +[ASIHTTPRequest compressData:] in ASIHTTPRequest.o +[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o "_SCNetworkReachabilityCre ateWithAddress" , referenced from:+[Reachability reachabilityWithAddress:] in Reachability.o "_kCFErrorDomainCFNetwork", referenced from: ASIHTTPRequest.o _kCFErrorDomainCFNetwork$non_lazy_ptr in (maybe you meant: _kCFErrorDomainCFNetwork$non_lazy_ptr) "_kCFStreamSSLValidatesCer tificateChain" , referenced from:ASIHTTPRequest.o _kCFStreamSSLValidatesCer tificateChain$non_lazy_ptr in (maybe you meant: _kCFStreamSSLValidatesCer tificateChain$non_lazy_ptr )"_CFHTTPAuthenticationCrea teFromResponse" , referenced from:-[ASIHTTPRequest attemptToApplyProxyCrede ntialsAndResume ] in ASIHTTPRequest.o-[ASIHTTPRequest attemptToApplyCredential sAndResume ] 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 "_UTTypeCopyPreferredTagWi thClass" , referenced from:+[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o "_kCFStreamPropertyHTTPSPr oxyHost" , referenced from:ASIHTTPRequest.o _kCFStreamPropertyHTTPSPr oxyHost$non_lazy_ptr in (maybe you meant: _kCFStreamPropertyHTTPSPr oxyHost$non_lazy_ptr )"_kCFHTTPAuthenticationSch emeNTLM" , referenced from:ASIAuthenticationDialog.o _kCFHTTPAuthenticationSch emeNTLM$non_lazy_ptr in ASIHTTPRequest.o _kCFHTTPAuthenticationSch emeNTLM$non_lazy_ptr in (maybe you meant: _kCFHTTPAuthenticationSch emeNTLM$non_lazy_ptr )"_CFHTTPAuthenticationCopy Method" , referenced from:-[ASIHTTPRequest attemptToApplyProxyCrede ntialsAndResume ] in ASIHTTPRequest.o-[ASIHTTPRequest attemptToApplyCredential sAndResume ] in ASIHTTPRequest.o"_kCFHTTPAuthenticationAcc ountDomain" , referenced from:ASIHTTPRequest.o _kCFHTTPAuthenticationAcc ountDomain$non_lazy_ptr in (maybe you meant: _kCFHTTPAuthenticationAcc ountDomain$non_lazy_ptr )"_UTTypeCreatePreferredIde ntifierForTag" , referenced from:+[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o "_CFNetworkCopySystemProxy Settings" , referenced from:-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o "_SCNetworkReachabilityUns cheduleFromRunLoop" , referenced from:-[Reachability stopNotifier] in Reachability.o "_kCFStreamPropertyHTTPPro xyPort" , referenced from:ASIHTTPRequest.o _kCFStreamPropertyHTTPPro xyPort$non_lazy_ptr in (maybe you meant: _kCFStreamPropertyHTTPPro xyPort$non_lazy_ptr )"_CFHTTPAuthenticationRequ iresAccountDomain" , referenced from:-[ASIHTTPRequest findProxyCredentials] in ASIHTTPRequest.o -[ASIHTTPRequest findCredentials] in ASIHTTPRequest.o -[ASIHTTPRequest attemptToApplyProxyCrede ntialsAndResume ] in ASIHTTPRequest.o-[ASIHTTPRequest attemptToApplyCredential sAndResume ] in ASIHTTPRequest.o"_SCNetworkReachabilityCre ateWithName" , referenced from:+[Reachability reachabilityWithHostName :] in Reachability.o "_SCNetworkReachabilitySet Callback" , referenced from:-[Reachability startNotifier] in Reachability.o "_kCFHTTPAuthenticationPas sword" , referenced from:ASIHTTPRequest.o _kCFHTTPAuthenticationPas sword$non_lazy_ptr in (maybe you meant: _kCFHTTPAuthenticationPas sword$non_lazy_ptr )"_kCFHTTPVersion1_0", referenced from: ASIHTTPRequest.o _kCFHTTPVersion1_0$non_lazy_ptr in (maybe you meant: _kCFHTTPVersion1_0$non_lazy_ptr) "_kCFHTTPVersion1_1", referenced from: ASIHTTPRequest.o _kCFHTTPVersion1_1$non_lazy_ptr in (maybe you meant: _kCFHTTPVersion1_1$non_lazy_ptr) "_kCFStreamPropertySSLSett ings" , referenced from:ASIHTTPRequest.o _kCFStreamPropertySSLSett ings$non_lazy_ptr in (maybe you meant: _kCFStreamPropertySSLSett ings$non_lazy_ptr )"_kCFStreamErrorDomainHTTP " , referenced from:ASIHTTPRequest.o _kCFStreamErrorDomainHTTP $non_lazy_ptr in (maybe you meant: _kCFStreamErrorDomainHTTP $non_lazy_ptr )"_CFReadStreamCreateForHTT PRequest" , referenced from:-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o "_kUTTagClassFilenameExten sion" , referenced from:ASIHTTPRequest.o _kUTTagClassFilenameExten sion$non_lazy_ptr in (maybe you meant: _kUTTagClassFilenameExten sion$non_lazy_ptr )ld: symbol(s) not foundcollect2: ld returned 1 exit status
新版的ASIHttpRequest代码结构修改很多,不再像之前那样分为ASIHTTPRequest和ASIHTTPRequestDemo两个文件夹。
只选取需要的代码加入到项目中后,发现编译后出现了很多错误。
原因是编译的时候需要加上一些类库
requires CFNetwork, SystemConfiguration, MobileCoreServices, and libz.
Edit: It also needs libxml2
0 0
- ASIHttpRequest编译不通过
- ASIHTTPRequest编译不通过
- ASIHttpRequest编译不通过
- libjingle编译不通过
- OpenCV1.1编译不通过
- EncodingUtils 编译不通过
- linux编译不通过
- strlwr linux下编译不通过
- C++编译不通过问题排查
- 编译不通过 illegal character: 65279
- iOS 方法objc_msgSend()编译不通过
- DataBinding In Kotlin编译不通过
- 【SSD】SSD caffe编译不通过
- openwrt编译不通过的问题
- g++使用container_of编译不通过
- 编译不通过出现的问题
- ASIHTTPRequest编译错误
- linux驱动编译不通过的问题解决
- 计算机网络-自顶向下方法和Internet特色笔记之三(中)
- Essential WinForm用户界面控件包User Interface Edition for Windows Forms 下载及介绍
- android垃圾回收机制及程序优化System.gc
- 读配置文件
- 《简单计算器实现(c#)》
- ASIHttpRequest编译不通过
- linux 下搭建、配置、使用apache
- Process Architecture
- Jquery操作select
- 使用定时任务crontab
- LinkedList的一种错误用法
- HOW TO: remove the 300ms delay when clicking on a link in JQuery Mobile
- 解决打印代码的一个Bug
- NoSql对比分析