ios - Libraries required to resolve firebase-crash linker issues when added manually -
have added libs mentioned in linking error on firebase 3.7.0 ios application still below linker errors adding firebase crash.
"_firlogerror", referenced from: -[fcrbreakpadcontroller enabledebugger] in firebasecrash(fcrbreakpadcontroller_bc3acad0fa3a54a5c7c331f54af621b0.o) -[fcrbreakpadcontroller startwithconfiguration:] in firebasecrash(fcrbreakpadcontroller_bc3acad0fa3a54a5c7c331f54af621b0.o) -[fcrbreakpadcontroller createdirectory:] in firebasecrash(fcrbreakpadcontroller_bc3acad0fa3a54a5c7c331f54af621b0.o) +[fcranalytics messagedictionaryfrommessage:] in firebasecrash(fcranalytics_281d4dbe093b1d2a74ef0873d1ac6263.o) -[fcrclient startwithconfiguration:error:] in firebasecrash(fcrclient_482ceec6b5943edbfb1d1dff6beb18f6.o) -[fcrcrashdump crashinfofromsystemmetadata:] in firebasecrash(fcrcrashdump_ee5f791af340383d1b426338c1150e39.o) -[fcruploadqueue initwithdirectory:maxsize:] in firebasecrash(fcruploadqueue_2ce78e78dbb8f27676bd42e0302357a3.o) ... "_firloginfo", referenced from: -[fcrclient startwithconfiguration:error:] in firebasecrash(fcrclient_482ceec6b5943edbfb1d1dff6beb18f6.o) ___49-[fcrbulkuploader uploadfilefromqueue:onsuccess:]_block_invoke in firebasecrash(fcrbulkuploader_af76d0815dcb863205f4ed96c30df68e.o)
"_gsdk_objc_getclass", referenced from: _____getfiranalyticsclass_block_invoke in firebasecrash(fcranalytics_281d4dbe093b1d2a74ef0873d1ac6263.o)
"_objc_class_$_firapp", referenced from: objc-class-ref in nfappdelegate.o objc-class-ref in firebasecrash(fcrclient_482ceec6b5943edbfb1d1dff6beb18f6.o)
"_objc_class_$_firinstanceid", referenced from: objc-class-ref in firebasecrash(fcrcrashuploader_810ae32cc5e6c7f23936333033b9ebd7.o)
"_objc_class_$_gsdk_pbdescriptor", referenced from: objc-class-ref in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o)
"_objc_class_$_gsdk_pbgeneratedmessage", referenced from: _objc_class_$_fcrmsgtimestamp in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_class_$_fcrmsgcrashreport in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_class_$_fcrmsgdevice in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_class_$_fcrmsgandroiddevice in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_class_$_fcrmsgiosdevice in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_class_$_fcrmsgapplication in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_class_$_fcrmsgandroidapplication in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) ... "_objc_class_$_gsdk_pbmutablearray", referenced from: objc-class-ref in firebasecrash(fcrcrashdump_ee5f791af340383d1b426338c1150e39.o)
"_objc_class_$_gsdk_pbrootobject", referenced from: _objc_class_$_fcrmsgsdkroot in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o)
"_objc_class_$_gtmlogbasicformatter", referenced from: objc-class-ref in firebasecrash(fcrsystemlogger_6532fb37dc095ffa73463b57baf5fca7.o)
"_objc_class_$_gtmlognofilter", referenced from: objc-class-ref in firebasecrash(fcrsystemlogger_6532fb37dc095ffa73463b57baf5fca7.o)
"_objc_class_$_gtmlogger", referenced from: objc-class-ref in firebasecrash(fcrsystemlogger_6532fb37dc095ffa73463b57baf5fca7.o) objc-class-ref in firebasecrash(uploader_089041b840f448492d858d7daf481e47.o)
"_objc_metaclass_$_gsdk_pbgeneratedmessage", referenced from: _objc_metaclass_$_fcrmsgtimestamp in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_metaclass_$_fcrmsgcrashreport in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_metaclass_$_fcrmsgdevice in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_metaclass_$_fcrmsgandroiddevice in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_metaclass_$_fcrmsgiosdevice in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_metaclass_$_fcrmsgapplication in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) _objc_metaclass_$_fcrmsgandroidapplication in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o) ... "_objc_metaclass_$_gsdk_pbrootobject", referenced from: _objc_metaclass_$_fcrmsgsdkroot in firebasecrash(sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o)
"_kfirappnamekey", referenced from: ___17+[fcrclient load]_block_invoke in firebasecrash(fcrclient_482ceec6b5943edbfb1d1dff6beb18f6.o)
"_kfirappreadytoconfiguresdknotification", referenced from: +[fcrclient load] in firebasecrash(fcrclient_482ceec6b5943edbfb1d1dff6beb18f6.o)
"_kfirloggercrash", referenced from: -[fcrbreakpadcontroller enabledebugger] in firebasecrash(fcrbreakpadcontroller_bc3acad0fa3a54a5c7c331f54af621b0.o) -[fcrbreakpadcontroller startwithconfiguration:] in firebasecrash(fcrbreakpadcontroller_bc3acad0fa3a54a5c7c331f54af621b0.o) -[fcrbreakpadcontroller createdirectory:] in firebasecrash(fcrbreakpadcontroller_bc3acad0fa3a54a5c7c331f54af621b0.o) +[fcranalytics messagedictionaryfrommessage:] in firebasecrash(fcranalytics_281d4dbe093b1d2a74ef0873d1ac6263.o) -[fcrclient startwithconfiguration:error:] in firebasecrash(fcrclient_482ceec6b5943edbfb1d1dff6beb18f6.o) -[fcrcrashdump crashinfofromsystemmetadata:] in firebasecrash(fcrcrashdump_ee5f791af340383d1b426338c1150e39.o) ___49-[fcrbulkuploader uploadfilefromqueue:onsuccess:]_block_invoke in firebasecrash(fcrbulkuploader_af76d0815dcb863205f4ed96c30df68e.o) ... ld: symbol(s) not found architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation)
try cocoapods manager: pod 'firebase', '~> 3.9'
it fix of wrong dependcies.
https://cocoapods.org/pods/firebase
or check readme.md file: have add these libs:
"(~> x)" below means sdk requires of frameworks x. should make sure include of frameworks x when including sdk.
analytics
- firebaseanalytics.framework
- firebasecore.framework
- firebaseinstanceid.framework
- googleinterchangeutilities.framework
- googlesymbolutilities.framework
googletoolboxformac.framework
crash (~> analytics)
firebasecrash.framework
Comments
Post a Comment