已经添加了在iOS 应用程序的 Firebase 3.7.0 上的链接错误中提到的库,但我仍然得到以下链接器错误以添加 firebase 崩溃。
"_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" ,引用自:FirebaseCrash 中的objc-class-ref(FCRCrashUploader_810ae32cc5e6c7f23936333033b9ebd7.o)
"_OBJC_CLASS_$_GSDK_PBDescriptor",引用自:FirebaseCrash 中的objc-class-ref(Sdk.pb_8328b2bef1af4d0941a97cc98e810)
"_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 ",引用自:FirebaseCrash 中的 objc 类引用(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",引用自:_OBJC_METACLASS_$_FCRMSGSdkRoot in FirebaseCrash(Sdk.pb_8328b2bef1af4d0941a97cc98e810c6c.o)
“_kFIRAppNameKey”,引用自:___17+[FCRClient load]_block_invoke in FirebaseCrash(FCRClient_482ceec6b5943edbfb1d1dff6beb18f6.o)
“_kFIRAppReadyToConfigureSDKNotification”,引用自:+[FCRClient load] in FirebaseCrash(FCRClient_482ceec6b59418bebfb.od)
"_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:未找到架构 x86_64 的符号 clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)