iphone - Asihttprequest 61 errors -
i'm using asihttprequest
in many projects each new project when i'm trying add asihttprequest
classes following error before using classes when i'm trying import them:
build finjan of project finjan configuration debug
ld build/debug-iphonesimulator/finjan.app/finjan normal i386 cd /users/apple/desktop/application/finjan setenv macosx_deployment_target 10.5 setenv path "/developer/platforms/iphonesimulator.platform/developer/usr/bin:/developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /developer/platforms/iphonesimulator.platform/developer/usr/bin/gcc-4.2 -arch i386 -isysroot /developer/platforms/iphonesimulator.platform/developer/sdks/iphonesimulator3.1.3.sdk -l/users/apple/desktop/application/finjan/build/debug-iphonesimulator -f/users/apple/desktop/application/finjan/build/debug-iphonesimulator -filelist /users/apple/desktop/application/finjan/build/finjan.build/debug-iphonesimulator/finjan.build/objects-normal/i386/finjan.linkfilelist -mmacosx-version-min=10.5 -framework foundation -framework uikit -framework coregraphics -framework audiotoolbox -framework avfoundation -o /users/apple/desktop/application/finjan/build/debug-iphonesimulator/finjan.app/finjan undefined symbols: "_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 meant: _kcfstreampropertyhttpsproxyport$non_lazy_ptr) "_inflate", referenced from: +[asihttprequest uncompresszippeddata:] in asihttprequest.o +[asihttprequest uncompresszippeddatafromsource:todestination:] in asihttprequest.o "_kcfstreamsslcertificates", referenced from: _kcfstreamsslcertificates$non_lazy_ptr in asihttprequest.o (maybe 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 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 meant: _kcfproxyportnumberkey$non_lazy_ptr) "_kuttagclassmimetype", referenced from: _kuttagclassmimetype$non_lazy_ptr in asihttprequest.o (maybe meant: _kuttagclassmimetype$non_lazy_ptr) "_inflateend", referenced from: +[asihttprequest uncompresszippeddata:] in asihttprequest.o +[asihttprequest uncompresszippeddatafromsource:todestination:] in asihttprequest.o +[asihttprequest uncompresszippeddatafromsource:todestination:] in asihttprequest.o +[asihttprequest uncompresszippeddatafromsource:todestination:] in asihttprequest.o +[asihttprequest uncompresszippeddatafromsource:todestination:] in asihttprequest.o "_inflateinit2_", referenced from: +[asihttprequest uncompresszippeddata:] in asihttprequest.o +[asihttprequest uncompresszippeddatafromsource:todestination:] in asihttprequest.o "_kcfproxyautoconfigurationurlkey", referenced from: _kcfproxyautoconfigurationurlkey$non_lazy_ptr in asihttprequest.o (maybe 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 meant: _kcfhttpauthenticationusername$non_lazy_ptr) "_kcfstreampropertyhttpproxy", referenced from: _kcfstreampropertyhttpproxy$non_lazy_ptr in asihttprequest.o (maybe meant: _kcfstreampropertyhttpproxyport$non_lazy_ptr, _kcfstreampropertyhttpproxyhost$non_lazy_ptr , _kcfstreampropertyhttpproxy$non_lazy_ptr ) "_kcfstreampropertyhttpresponseheader", referenced from: _kcfstreampropertyhttpresponseheader$non_lazy_ptr in asihttprequest.o (maybe meant: _kcfstreampropertyhttpresponseheader$non_lazy_ptr) "_cfhttpmessagegetresponsestatuscode", referenced from: -[asihttprequest readresponseheaders] in asihttprequest.o "_kcfproxytypehttp", referenced from: _kcfproxytypehttp$non_lazy_ptr in asihttprequest.o (maybe meant: _kcfproxytypehttp$non_lazy_ptr) "_kcfhttpauthenticationschemebasic", referenced from: _kcfhttpauthenticationschemebasic$non_lazy_ptr in asiauthenticationdialog.o _kcfhttpauthenticationschemebasic$non_lazy_ptr in asihttprequest.o (maybe 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 meant: _kcfproxytypesocks$non_lazy_ptr) "_kcfstreampropertyhttpattemptpersistentconnection", referenced from: _kcfstreampropertyhttpattemptpersistentconnection$non_lazy_ptr in asihttprequest.o (maybe 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 meant: _kcfproxyhostnamekey$non_lazy_ptr) "_kcfstreampropertyhttpproxyhost", referenced from: _kcfstreampropertyhttpproxyhost$non_lazy_ptr in asihttprequest.o (maybe meant: _kcfstreampropertyhttpproxyhost$non_lazy_ptr) "_cfhttpmessagecopyresponsestatusline", referenced from: -[asihttprequest readresponseheaders] in asihttprequest.o "_kcfstreampropertyhttprequestbyteswrittencount", referenced from: _kcfstreampropertyhttprequestbyteswrittencount$non_lazy_ptr in asihttprequest.o (maybe 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 meant: _kcferrordomaincfnetwork$non_lazy_ptr) "_kcfstreamsslvalidatescertificatechain", referenced from: _kcfstreamsslvalidatescertificatechain$non_lazy_ptr in asihttprequest.o (maybe 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 meant: _kcfstreampropertyhttpsproxyhost$non_lazy_ptr) "_kcfhttpauthenticationschementlm", referenced from: _kcfhttpauthenticationschementlm$non_lazy_ptr in asiauthenticationdialog.o _kcfhttpauthenticationschementlm$non_lazy_ptr in asihttprequest.o (maybe 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 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 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 meant: _kcfhttpauthenticationpassword$non_lazy_ptr) "_kcfhttpversion1_0", referenced from: _kcfhttpversion1_0$non_lazy_ptr in asihttprequest.o (maybe meant: _kcfhttpversion1_0$non_lazy_ptr) "_kcfhttpversion1_1", referenced from: _kcfhttpversion1_1$non_lazy_ptr in asihttprequest.o (maybe meant: _kcfhttpversion1_1$non_lazy_ptr) "_kcfstreampropertysslsettings", referenced from: _kcfstreampropertysslsettings$non_lazy_ptr in asihttprequest.o (maybe meant: _kcfstreampropertysslsettings$non_lazy_ptr) "_kcfstreamerrordomainhttp", referenced from: _kcfstreamerrordomainhttp$non_lazy_ptr in asihttprequest.o (maybe meant: _kcfstreamerrordomainhttp$non_lazy_ptr) "_cfreadstreamcreateforhttprequest", referenced from: -[asihttprequest startrequest] in asihttprequest.o "_kuttagclassfilenameextension", referenced from: _kuttagclassfilenameextension$non_lazy_ptr in asihttprequest.o (maybe meant: _kuttagclassfilenameextension$non_lazy_ptr) ld: symbol(s) not found collect2: ld returned 1 exit status
what causing this?
more specifically, requires cfnetwork, systemconfiguration, mobilecoreservices, , lib (libz.tbd ios 9).
edit: needs libxml2
Comments
Post a Comment