简体   繁体   English

适用于iOS的Xamarin.Forms Firebase Analytics

[英]Xamarin.Forms Firebase Analytics for iOS

I am adding Firebase analytics to my Xamarin Forms app on iOS, currently following DI(Dependency Injection) for Firebase Analytics. 我正在将Firebase分析添加到iOS上的Xamarin Forms应用程序中,目前遵循的是Firebase Analytics DI(依赖注入)。 Referring to this ( Firebase Analytics in Xamarin Forms ). 引用此内容( Xamarin Forms中的Firebase Analytics )。 I am stuck at this error and don't know how to solve it. 我被这个错误困住了,不知道如何解决。 Following the error from my console: 在控制台中出现以下错误:

5.8.0 - [Firebase/InstanceID][I-IID017000] Could not determine the app's default Keychain access group (-34018)
2018-11-19 11:04:01.876059+0530 Sample.iOS[9231:68774] 5.8.0 - [Firebase/InstanceID][I-IID009001] Error removing keypair status: -34018
2018-11-19 11:04:01.876563+0530 Sample.iOS[9231:68774] 5.8.0 - [Firebase/InstanceID][I-IID010007] Unable to remove RSA keypair
2018-11-19 11:04:01.877675+0530 Sample.iOS[9231:68779] 5.8.0 - [Firebase/InstanceID][I-IID009001] Error removing keypair status: -34018
Thread started:  #7
2018-11-19 11:04:02.083179+0530 Sample.iOS[9231:68779] 5.8.0 - [Firebase/InstanceID][I-IID009001] Error removing keypair status: -34018
2018-11-19 11:04:02.083534+0530 Sample.iOS[9231:68779] 5.8.0 - [Firebase/InstanceID][I-IID010007] Unable to remove RSA keypair
2018-11-19 11:04:02.087625+0530 Sample.iOS[9231:68779] 5.8.0 - [Firebase/InstanceID][I-IID009001] Error removing keypair status: -34018
Thread started:  #8
2018-11-19 11:04:03.686673+0530 Sample.iOS[9231:68772] 5.8.0 - [Firebase/InstanceID][I-IID010003] Unable to generate keypair.
2018-11-19 11:04:03.686932+0530 Sample.iOS[9231:68772] 5.8.0 - [Firebase/InstanceID][I-IID010009] Keypair could not be loaded from Keychain. Error: Error Domain=com.firebase.iid Code=-34018 "(null)"
2018-11-19 11:04:03.687068+0530 Sample.iOS[9231:68772] 5.8.0 - [Firebase/Analytics][I-ACS020001] Failed to get InstanceID: Error Domain=com.firebase.iid Code=-34018 "(null)"
2018-11-19 11:04:20.217396+0530 Sample.iOS[9231:68779] 5.8.0 - [Firebase/InstanceID][I-IID009001] Error removing keypair status: -34018
2018-11-19 11:04:20.217547+0530 Sample.iOS[9231:68779] 5.8.0 - [Firebase/InstanceID][I-IID010007] Unable to remove RSA keypair
2018-11-19 11:04:20.218886+0530 Sample.iOS[9231:68779] 5.8.0 - [Firebase/InstanceID][I-IID009001] Error removing keypair status: -34018

Please help. 请帮忙。 Thank you! 谢谢!

Make sure to check the app in your phisical device, Firebase analytics are not going to work in the iOS emulators. 确保检查您的物理设备中的应用程序,Firebase分析将无法在iOS模拟器中运行。

Meanwhile i have updated the answer here: https://stackoverflow.com/a/50764452/9823528 with a lot more informations and code fixes 同时,我在这里更新了答案: https : //stackoverflow.com/a/50764452/9823528,其中提供了更多信息和代码修复

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM