我正在使用React Native创建一个应用程序,并尝试为iOS安装可可豆荚,但当我在终端中输入pod install时,我收到以下警告。
然后,当我尝试在iOS模拟器中运行我的应用程序时,它崩溃了,不能运行。
下面是Xcode错误。
我运行的是react native 0.63.2。
这是我的pod文件
# Uncomment the next line to define a global platform for your project
platform :ios, '11.0'
require_relative '../node_mo
我遵循了iOS来自的说明,但是编译显示了这些错误。我猜这是某种版本不兼容,但我相信我是最新版本的react-native-firebase。当我构建应用程序时,会出现以下错误:
❌ /Users/matt/Desktop/myapp/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:91:51: expected a type
- (void)applicationReceivedRemoteMessage:(nonnull FIRMessagingRemoteMessage
我从由转化酶提供的初学者工具包中安装了RNF。我正在使用RNF应用,数据库,分析,auth。一切都很顺利,直到我需要这个模块。它在应用程序启动时抛出一个错误(在Android上,还没有尝试过iOS):
...\node_modules\react-native\Libraries\Core\ExceptionsManager.js:86
You've attempted to require '@react-native-firebase/auth' version '6.0.3', however,
the '@react-nati
我正在使用多个防火墙服务在我的反应本机项目。现在我试着加入破折主义
yarn add @react-native-firebase/crashlytics
但我犯了个错误
[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
In snapshot (Podfile.lock):
Firebase/CoreOnly (= 8.12.1)
In Podfile:
RNFBApp (from `../node_modules/@react-native-f
下面的步骤是在React本机代码中实现的吗?我是否必须在iOS端添加任何步骤或方法?证书是启用APNS的。
步骤1:
# Install & setup the app module
yarn add @react-native-firebase/app
# Install the messaging module
yarn add @react-native-firebase/messaging
# If you're developing your app using iOS, run this command
cd ios/ && pod instal
我正在使用firebase在react原生中处理一个预定的本地推送通知。我已经成功地在特定时间生成了通知,如下所示:
firebase.notifications().scheduleNotification(this.buildNotification(), {
fireDate: notificationTime.valueOf(), //a specific date is set using a datetimepicker
repeatInterval: "minute",
exact: true
});
我的问题是如何在schedul
因此,我需要添加防火墙云功能,在开发反应-本机项目。所以在它正常工作之前,但现在它给了我错误。我至今所做的一切,
yarn add @react-native-firebase/app yarn add @react-native-firebase/functions
然后我尝试cd ios/ && pod install,但是它给了我下面的错误
etching podspec for glog from ../node_modules/react-native/third-party-podspecs/glog.podspec [!] CocoaPods could not
当我试图在我的Mac M1上用android和ios构建我的本机应用程序时,当我在error.....it上构建时,就不会出现这个error.....it:
Package firebase-functions has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/..../node_modules/firebase-functions/pa
used library versions
==================
"@react-native-firebase/app":"8.4.6","@react-native-firebase/messaging":"8.0.0","react":"16.8.3","react-native":"0.63.3",
我正在使用react native创建一个应用程序。我将我的项目从react native 0.60更新到react native 0.63.2。为此,我必须在我的iOS项目中更新我的cocoapods (如下所示)。
我的档案文件。
# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'
require_relative '../node_modules/react-native/scripts/react_native_pods
我有一个特殊的问题,我已经为这个错误找到了许多解决方案,但没有一个有效。
[!] CocoaPods could not find compatible versions for pod "RNFBApp":
In Podfile:
RNFBApp (from `../node_modules/@react-native-firebase/app`)
Specs satisfying the `RNFBApp (from `../node_modules/@react-native-firebase/app`)` dependency were found, but they