在转化酶Firebase Crashlytics设置()期间,我不断地得到以下错误:
CocoaPods could not find compatible versions for pod "Firebase/Crashlytics"
或与Firebase/Core或Firebase/CoreOnly有关的其他变体
Podfile
pod 'Firebase/Core'
pod 'Firebase/CoreOnly'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics
尝试使用快速通道和CocoaPods使用react-native-firebase编译react-native -firebase时出现错误:
In file included from /Users/XXXX/XXXX/XXX/XXX/node_modules/react-
native-firebase/ios/RNFirebase/RNFirebaseUtil.h:6:
../../../ios/Pods/Headers/Public/Firebase/Firebase.h:1:9: fatal error:
'FirebaseCore/FirebaseCore.h'
摘要 我在我的项目中使用了react-native-firebase,并且我运行的是纯react-native (No Expo)。然而,在对Firestore上的任何文档发出get请求时,都不会给出响应。也就是说,在try-catch块中,它既不会解析,也不会被拒绝,它会一直运行下去。(是的,我知道promise,并且我使用await/async,所以它不是等待promise完成,事实上,主要的事情是promise没有得到解决/拒绝) 主要的问题是这个问题是随机出现的,它不是每次都失败,它是随机发生的。通过仔细观察,我还观察到,这种情况主要发生在我不断执行get请求时,例如,我有一个查询,
在Xcode中,我在归档过程中得到以下错误
Showing All Messages
: Directory not found for option '-L/Users/<user>/Library/Developer/Xcode/DerivedData/Mobile-ffdrrqgiyphlinerkjxrqqqeocrs/Build/Intermediates.noindex/ArchiveIntermediates/Mobile/BuildProductsPath/Release-iphoneos/React'
ld: library not found
我在运行Pod安装时遇到了一个问题。当它安装完所有的吊舱后,它会卡在一个循环打印反应核心和这两个文件的路径.release.xcconfig,.debug.xcconfig上。
React-Core
/path/project/ios/Pods/Target Support Files/Pods-project/Pods-project.release.xcconfig
/path/project/ios/Pods/Target Support Files/Pods-project/Pods-project.debug.xcconfig
/path/project/ios/Pods/Ta
我正在尝试成功运行react本机安装附带的boiler -test.js测试。我已经看到这个测试在其他项目中“开箱即用”,然而,由于我们与Firebase SDK的集成,我的测试失败了。我们的长期目标是构建一个测试套件,模拟对我们的firebase SDK的调用(我想探索以下解决方案:https://medium.com/stories-from-upstatement/jest-mocks-roasting-on-an-open-firestore-36fa55b76953、How do you mock Firebase Firestore methods using Jest? ),但
我将我的应用程序升级为react-原生0.61.2,所以我不得不将react-原生--firebase升级到6.0.3,我从添加@react-native-firebase/app和@react-native-firebase/messaging包开始。
import { Platform } from 'react-native'
import { firebase } from '@react-native-firebase/messaging'
// pluck values from your `GoogleService-Info.plist` yo
几个小时前,当我在Android上运行Reactive原住民应用程序时,没有问题。甚至它也成功地建立在Azure DevOps上。
直到我再次尝试运行这个应用程序时,才发生了这样的情况:
* What went wrong:
Execution failed for task ':expo-splash-screen:compileDebugKotlin'.
> Compilation error. See log for more details
我跟踪日志,它显示了以下消息:
> Task :expo-splash-screen:compileDebugKotl
我正试图在VSCode中构建一个react本机应用程序。当我试图构建这个应用程序时,我得到了以下错误。在完成构建过程中,我一直会遇到以下问题。我试图更改firebase版本和Gradle更新,但没有工作。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDexRelease'.
> A failure occurred while executing com.android.build.gradle.internal.task
反应本机0.57
CocoaPods 1.5.3
Xcode 10.1
我已经在调试模式下构建了它很好,但是存档有错误消息
图1:错误
我打开了.xcworkspace而不是.xcodeproj。并拆下Podfile.lock吊舱,重新安装豆荚,但仍不起作用.
我尝试将链接二进制文件中的libBolts链接到库中,但是Xcode仍然要求其他库到IPods-PorjectName。但它已经在链接二进制与图书馆。
Podfile
# Uncomment the next line to define a global platform for your project
当我试图在iOS中运行自己的时,我得到了这个错误:
[!] CocoaPods could not find compatible versions for pod "Firebase/Auth":
In Podfile:
Firebase/Auth
RNFBAuth (from `../node_modules/@react-native-firebase/auth`) was resolved to 10.5.1, which depends on
Firebase/Auth (~> 7.4.0)
CocoaPods could n
一段时间以来,我一直在尝试通过包来响应本地Firebase Google的登录。我已经跟踪了文档,以便读取它和其他各种命令,比如从SDK开始。
我的项目设置如下所示:
Podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'giftdrop' do
### GOOGLE MAPS ###
rn_path = '../node_modules/react-na
我从正式的文档中学习了react-native-firebase,按照说明,一切都很好。
据我理解,我应该能够在Firebase动态链接控制台中创建如下链接:https://myapp.page.link/offer?offerid=123456,并能够在我的应用程序中接收offerid参数。但是,当我单击该链接(在iOS模拟器、安卓模拟器和实际设备上)时,应用程序将打开,但我只获得以下数据的链接:
Received initial link {"minimumAppVersion": null, "url": "https://mysite.co/of
最近,在将ios应用程序添加到firebase项目后,我开始在控制台中得到这个警告。删除并重新创建了所有尚未解决地图加载问题的应用程序
未处理的承诺拒绝:错误:获取令牌失败:请设置您的项目ID。需要一个有效的Firebase项目ID来与Firebase服务器API通信:它用https://firebase.google.com/support/privacy/init-options.标识您的应用程序。在\node_modules\react-native\Libraries\BatchedBridge\NativeModules.js:104:50 in promiseMethodWrapp