将 Firebase Analytics 集成到 Xamarin iOS 带有钥匙串警告的垃圾邮件日志中
Integrating Firebase Analytics into Xamarin iOS spams logs with keychain warnings
我刚刚将 Firebase Analytics SDK 集成到我的 Xamarin iOS 应用中。但是,现在它正在向日志发送垃圾邮件:
2019-06-13 16:00:44.728870-0400 orgnarrprmobiledev[8450:341429] 5.16.0
- [Firebase/InstanceID][I-IID023003] Couldn't create keypair from Keychain OSStatus: -34018 2019-06-13 16:00:44.729602-0400
orgnarrprmobiledev[8450:341429] 5.16.0 -
[Firebase/InstanceID][I-IID023004] Could not update attributes of the
key pair to be accessible after first unlock. update status: -34018
2019-06-13 16:00:44.730314-0400 orgnarrprmobiledev[8450:341429] 5.16.0
- [Firebase/InstanceID][I-IID023004] Could not update attributes of the key pair to be accessible after first unlock. update status:
-34018 2019-06-13 16:00:44.731801-0400 orgnarrprmobiledev[8450:341429] 5.16.0 - [Firebase/InstanceID][I-IID010003] Unable to generate keypair. 2019-06-13 16:00:44.731947-0400
orgnarrprmobiledev[8450:341429] 5.16.0 -
[Firebase/InstanceID][I-IID010009] Keypair could not be loaded from
Keychain. Error: Error Domain=com.firebase.iid Code=2005 "(null)"
2019-06-13 16:00:44.732061-0400 orgnarrprmobiledev[8450:341429] 5.16.0
- [Firebase/Analytics][I-ACS020001] Failed to get InstanceID: Error Domain=com.firebase.iid Code=2005 "(null)"
有没有人知道如何解决这个问题?我尝试在我的 Entitlements.plist 中启用钥匙串访问,但它仍然发送相同的警告。
这是模拟器上的预期行为。模拟器不支持KeyChain。
我刚刚将 Firebase Analytics SDK 集成到我的 Xamarin iOS 应用中。但是,现在它正在向日志发送垃圾邮件:
2019-06-13 16:00:44.728870-0400 orgnarrprmobiledev[8450:341429] 5.16.0 - [Firebase/InstanceID][I-IID023003] Couldn't create keypair from Keychain OSStatus: -34018 2019-06-13 16:00:44.729602-0400 orgnarrprmobiledev[8450:341429] 5.16.0 - [Firebase/InstanceID][I-IID023004] Could not update attributes of the key pair to be accessible after first unlock. update status: -34018 2019-06-13 16:00:44.730314-0400 orgnarrprmobiledev[8450:341429] 5.16.0 - [Firebase/InstanceID][I-IID023004] Could not update attributes of the key pair to be accessible after first unlock. update status: -34018 2019-06-13 16:00:44.731801-0400 orgnarrprmobiledev[8450:341429] 5.16.0 - [Firebase/InstanceID][I-IID010003] Unable to generate keypair. 2019-06-13 16:00:44.731947-0400 orgnarrprmobiledev[8450:341429] 5.16.0 - [Firebase/InstanceID][I-IID010009] Keypair could not be loaded from Keychain. Error: Error Domain=com.firebase.iid Code=2005 "(null)" 2019-06-13 16:00:44.732061-0400 orgnarrprmobiledev[8450:341429] 5.16.0 - [Firebase/Analytics][I-ACS020001] Failed to get InstanceID: Error Domain=com.firebase.iid Code=2005 "(null)"
有没有人知道如何解决这个问题?我尝试在我的 Entitlements.plist 中启用钥匙串访问,但它仍然发送相同的警告。
这是模拟器上的预期行为。模拟器不支持KeyChain。