ios - parse.framework is not linked, installed via cocoapods -
i using parse 1.6.5 , working fine in project. when udated via pods on 1.7.2 got problem pfnullability fixed placing nsnullability next * sign nserror *pf_nullable_s error
and fixed after got problem linking. errors following
undefined symbols architecture x86_64: "_objc_class_$_pfacl", referenced from: objc-class-ref in signupviewcontroller.o objc-class-ref in customloginviewcontroller.o "_objc_class_$_pfanalytics", referenced from: objc-class-ref in appdelegate.o objc-class-ref in allanalytics.o "_objc_class_$_pfcloud", referenced from: objc-class-ref in adminsviewcontroller.o objc-class-ref in appdelegate.o objc-class-ref in scheduleviewcontroller.o objc-class-ref in helpviewcontroller.o objc-class-ref in addadminviewcontroller.o objc-class-ref in teamreleventviewcontroller.o objc-class-ref in photosandvideosviewcontroller.o ... "_objc_class_$_pfdateformatter", referenced from: objc-class-ref in parsefacebookutils(pffacebookauthenticationprovider.o) "_objc_class_$_pffile", referenced from: objc-class-ref in teamreleventviewcontroller.o objc-class-ref in searchteamviewcontroller.o objc-class-ref in userprofilesettingsviewcontroller.o objc-class-ref in photosharingviewcontroller.o objc-class-ref in createnewteamviewcontroller.o objc-class-ref in additemviewcontroller.o objc-class-ref in addnewsviewcontroller.o ... "_objc_class_$_pfinstallation", referenced from: objc-class-ref in appdelegate.o objc-class-ref in customloginviewcontroller.o "_objc_class_$_pfinternalutils", referenced from: objc-class-ref in parsefacebookutils(pffacebookutils.o) "_objc_class_$_pfobject", referenced from: objc-class-ref in news1viewcontroller.o objc-class-ref in photosandvideosviewcontroller.o _objc_class_$_post in post.o _objc_class_$_event in event.o _objc_class_$_teammember in teammember.o _objc_class_$_teamadmin in teamadmin.o _objc_class_$_team in team.o ... "_objc_class_$_pfpush", referenced from: objc-class-ref in appdelegate.o "_objc_class_$_pfquery", referenced from: objc-class-ref in appdelegate.o objc-class-ref in moreviewcontroller.o objc-class-ref in menuviewcontroller.o objc-class-ref in storeviewcontroller.o objc-class-ref in newsfeedviewcontroller.o objc-class-ref in customloginviewcontroller.o objc-class-ref in nvgalleryviewcontroller.o ... (maybe meant: _objc_class_$_pfquerytableviewcontroller) "_objc_class_$_pfreceptionist", referenced from: objc-class-ref in parsefacebookutils(pffacebookauthenticationprovider.o) "_objc_class_$_pfuser", referenced from: objc-class-ref in adminsviewcontroller.o objc-class-ref in appdelegate.o objc-class-ref in scheduleviewcontroller.o objc-class-ref in addadminviewcontroller.o objc-class-ref in teamreleventviewcontroller.o objc-class-ref in photosandvideosviewcontroller.o objc-class-ref in teamsettingsviewcontroller.o ... "_objc_class_$_parse", referenced from: objc-class-ref in appdelegate.o objc-class-ref in parseui(pfquerytableviewcontroller.o) "_objc_class_$_parsecrashreporting", referenced from: objc-class-ref in appdelegate.o "_objc_metaclass_$_pfobject", referenced from: _objc_metaclass_$_post in post.o _objc_metaclass_$_event in event.o _objc_metaclass_$_teammember in teammember.o _objc_metaclass_$_teamadmin in teamadmin.o _objc_metaclass_$_team in team.o _objc_metaclass_$_media in media.o _objc_metaclass_$_link in link.o ... "_pfparseerrordomain", referenced from: -[pfimageview loadinbackground:progressblock:] in parseui(pfimageview.o) ___46-[pfimageview loadinbackground:progressblock:]_block_invoke32 in parseui(pfimageview.o) "_kpferrorcachemiss", referenced from: ___48-[pfquerytableviewcontroller loadobjects:clear:]_block_invoke in parseui(pfquerytableviewcontroller.o) "_kpferrorinvalidimagedata", referenced from: ___46-[pfimageview loadinbackground:progressblock:]_block_invoke32 in parseui(pfimageview.o) "_kpferrorunsavedfile", referenced from: -[pfimageview loadinbackground:progressblock:] in parseui(pfimageview.o) ld: symbol(s) not found architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation)
please me have upload new version release possible
ok, best way clean pods related issues clean , run again.
i have standard procedure works whenever there linking error cocoapods.
1.keep backup! (this may break!)
2.do pod deintegrate use library --> https://github.com/cocoapods/cocoapods-deintegrate call pod deintegrate
command clean cocoa pods.
3.clean project settings, removing edited. (if did framework work, keep it) remove search paths, framework header paths, other linker flags remove configs, remove flags, remove pch if bold in build settings edited, whatever not done explicitly purpose, delete restore default value.
4.delete workspace, , pod file directory.
4.paste main pod file backup.
5.delete data derivedfolder, window-->projects-->delete derived data
6.do clean (product --> clean), , clean build folder (holding option, product --> clean build folder)
7.do pod install
8.build , run.
everything should restored happy states!
Comments
Post a Comment