Link Errors with Parse.framework iOS -
i tried importing parse framework in project. made sure liked project , couldn't find whether 'arc sensitive' or not. project arc based.
this error i'm getting:
undefined symbols architecture i386: "_scnetworkreachabilitycreatewithname", referenced from: -[pfcommandcache init] in parse(pfcommandcache.o) +[pfinternalutils(reachability) isparsereachable] in parse(pfinternalutils.o) "_scnetworkreachabilitygetflags", referenced from: ___22-[pfcommandcache init]_block_invoke in parse(pfcommandcache.o) +[pfinternalutils(reachability) isparsereachable] in parse(pfinternalutils.o) "_scnetworkreachabilityschedulewithrunloop", referenced from: -[pfcommandcache init] in parse(pfcommandcache.o) "_scnetworkreachabilitysetcallback", referenced from: -[pfcommandcache init] in parse(pfcommandcache.o) "_scnetworkreachabilityunschedulefromrunloop", referenced from: -[pfcommandcache dealloc] in parse(pfcommandcache.o) "_secitemadd", referenced from: +[pfinternalutils savetokeychain:data:] in parse(pfinternalutils.o) "_secitemcopymatching", referenced from: +[pfinternalutils loadfromkeychain:] in parse(pfinternalutils.o) "_secitemdelete", referenced from: +[pfinternalutils savetokeychain:data:] in parse(pfinternalutils.o) +[pfinternalutils deletefromkeychain:] in parse(pfinternalutils.o) "_uttypecopypreferredtagwithclass", referenced from: -[pffile getmimetype] in parse(pffile.o) "_uttypecreatepreferredidentifierfortag", referenced from: -[pffile getmimetype] in parse(pffile.o) "_kcfstreampropertyftpattemptpersistentconnection", referenced from: -[pfhttpcommand scheduleincurrentthread] in parse(pfhttpcommand.o) "_kcfstreampropertyhttpattemptpersistentconnection", referenced from: -[pfhttpcommand scheduleincurrentthread] in parse(pfhttpcommand.o) "_ksecattraccessible", referenced from: +[pfinternalutils getkeychainquery:] in parse(pfinternalutils.o) "_ksecattraccessibleafterfirstunlock", referenced from: +[pfinternalutils getkeychainquery:] in parse(pfinternalutils.o) "_ksecattraccount", referenced from: +[pfinternalutils getkeychainquery:] in parse(pfinternalutils.o) "_ksecattrservice", referenced from: +[pfinternalutils getkeychainquery:] in parse(pfinternalutils.o) "_ksecclass", referenced from: +[pfinternalutils getkeychainquery:] in parse(pfinternalutils.o) "_ksecclassgenericpassword", referenced from: +[pfinternalutils getkeychainquery:] in parse(pfinternalutils.o) "_ksecmatchlimit", referenced from: +[pfinternalutils loadfromkeychain:] in parse(pfinternalutils.o) "_ksecmatchlimitone", referenced from: +[pfinternalutils loadfromkeychain:] in parse(pfinternalutils.o) "_ksecreturndata", referenced from: +[pfinternalutils loadfromkeychain:] in parse(pfinternalutils.o) "_ksecvaluedata", referenced from: +[pfinternalutils savetokeychain:data:] in parse(pfinternalutils.o) "_kuttagclassfilenameextension", referenced from: -[pffile getmimetype] in parse(pffile.o) "_kuttagclassmimetype", referenced from: -[pffile getmimetype] in parse(pffile.o) ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)
make sure link against systemconfiguration
, security
framework in project. see this question more details. hector pointed out in comments, of required frameworks parse can found in ios quick start guide.
- audiotoolbox.framework
- cfnetwork.framework
- coregraphics.framework
- corelocation.framework
- libz.1.1.3.dylib
- mobilecoreservices.framework
- quartzcore.framework
- security.framework
- storekit.framework
- systemconfiguration.framework
Comments
Post a Comment