gpt4 book ai didi

ios - 使用 react-native-webengage 添加 FirebaseMessaging pod 时应用程序在加载时崩溃

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:58:00 25 4
gpt4 key购买 nike

应用程序在添加适用于 iOS 的 FirebaseMessaging 时加载时崩溃。React-native 版本:0.60.4

https://github.com/WebEngage/react-native-webengage 中的 ExampleApp 复制:

  1. 在 Podfile 中添加 FirebaseMessaging:
  pod 'Firebase/Core'
pod 'Firebase/Messaging'
  1. 在 AppDelegate.m 中添加以下行:
#import <Firebase.h>


[FIRApp configure];
  1. 更新 pod 后运行 ios 的 react-native 应用程序:
pod install 
react-native run-ios

监控react-native log-ios得到这个错误

Sep 11 12:21:20 go-mac-darshita ExampleApp[58400] <Error>: assertion failed: 18F203 16E226: libxpc.dylib + 80700 [B558DAD6-9E08-3208-B352-1CA4137B67C8]: 0x7d
Sep 11 12:21:20 go-mac-darshita Unknown[58400] <Error>:
Sep 11 12:21:20 go-mac-darshita com.apple.CoreSimulator.SimDevice.9DF1B234-3BCE-4F5A-B29E-04CB9F347D8A[57091] (UIKitApplication:com.webengage.reactnative[0xaed8][57116][58400]) <Notice>: Service exited due to SIGABRT
Sep 11 12:21:22 go-mac-darshita com.apple.CoreSimulator.SimDevice.9DF1B234-3BCE-4F5A-B29E-04CB9F347D8A[57091] (com.apple.securityuploadd) <Notice>: Service only ran for 5 seconds. Pushing respawn out by 5 seconds.

最佳答案

执行 Disable Swizzling section 中提到的步骤WebEngage 文档。

关于ios - 使用 react-native-webengage 添加 FirebaseMessaging pod 时应用程序在加载时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57883754/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com