简体   繁体   English

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

[英]Getting weird error on iOS react native project

I'm using react native, I am trying to start my iOS app.我正在使用本机反应,我正在尝试启动我的 iOS 应用程序。 It has React native firebase SDK.它具有 React 原生 Firebase SDK。 Please help.请帮忙。 I have already initialized firebase in the app delegate我已经在应用程序委托中初始化了 firebase

在此处输入图片说明

please verify the installation steps请验证安装步骤

# 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 https://rnfirebase.io/messaging/usage

seems your firebase module not installed correctly.似乎您的firebase模块安装不正确。 following this link for install config your firebase : Link按照此链接安装配置您的firebase链接

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

相关问题 在iOS设备上运行棒式快速反应本机项目时出错 - Getting error while running clubbed swift & react-native project on iOS device React Native:没有日志出现在 Xcode 和 react-native run-ios 中会抛出奇怪的错误 - React Native: No logs showing up in Xcode and react-native run-ios throws weird error 错误 build react native ios use yarn ios new project - Error build react native ios use yarn ios new project React Native入门项目IOS构建失败 - React Native getting start project IOS build failed 错误无法为 ios 项目安装 CocoaPods 依赖项。 反应原生 - Error Failed to install CocoaPods dependencies for ios project. React Native Xcode 10.2 iOS Swift (+ React Native) 项目编译错误 - Xcode 10.2 iOS Swift (+ React Native) project compilation error react-native 与现有本机项目的集成出现错误找不到模块'react-native/cli' - react-native integration with existing native project getting error Cannot find module 'react-native/cli' 获取错误运行react-native run-ios - Getting Error Running react-native run-ios 尝试将React Native项目构建到设备时出现奇怪的错误和红屏 - Weird error and red screen when trying to build React Native project to device 当我使用“react-native run-ios”运行 React Native 项目时显示错误 - React Native project showing error when I run it using "react-native run-ios"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM