繁体   English   中英

在 iOS React Native 项目上出现奇怪的错误

[英]Getting weird error on iOS react native project

我正在使用本机反应,我正在尝试启动我的 iOS 应用程序。 它具有 React 原生 Firebase SDK。 请帮忙。 我已经在应用程序委托中初始化了 firebase

在此处输入图片说明

请验证安装步骤

# Install & setup the app module
yarn add @react-native-firebase/app

# Install the messaging module
yarn add @react-native-firebase/messaging
#Update pods
pod install --repo-update   
#Insert this to Podfile
$FirebaseSDKVersion = '6.0.0'
#Install changes
pod install --repo-update   
# If you're developing your app using iOS, run this command
cd ios/ && pod install

https://rnfirebase.io/messaging/usage

似乎您的firebase模块安装不正确。 按照此链接安装配置您的firebase链接

暂无
暂无

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

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