gpt4 book ai didi

ios - Firebase iOS 卡在 'Run your app to verify installation'

转载 作者:行者123 更新时间:2023-11-29 05:43:51 25 4
gpt4 key购买 nike

适用于 iOS 的 React Native Firebase 安装在“运行您的应用以验证安装”屏幕上被阻止。

React Native Firebase 之前曾为我在 Android 上工作过。

我遵循了这些说明。

https://rnfirebase.io/docs/v5.x.x/installation/ios https://firebase.google.com/docs/ios/setup#add_the_sdk

这是我到目前为止所做的事情。

-在 Firebase.google.com 页面中设置一个项目。

-在那里创建一个 iOS 应用程序。

-通过npm安装react-native-firebase。

-将 GoogleService-Info.plist 文件添加到 XCode 中的项目中。

-更改 ios/[您的应用程序名称]/AppDelegate.m 文件。

-创建一个新的 Podfile(Cocoa pod)并通过“pod update”命令更新它。

- 按照指令向 Podfile 添加和编辑行。

-运行“pod install”

-从项目根目录运行“react-native link react-native-firebase”。

-点击 Firebase 控制台中的“下一步”按钮,然后转到“运行您的应用以验证安装”部分。

-通过运行“react-native run-ios”命令在模拟器上运行 iOS 应用程序。

应用程序启动并在模拟器中正常运行。

Firebase 页面中没有任何反应。

这是我的 Podfile 的前几行。

# Uncomment the next line to define a global platform for your 
project
platform :ios, '9.0'

# Required by RNFirebase
pod 'Firebase/Core', '~> 5.20.1'

target 'My_App_Name' do

最佳答案

https://dev-yakuza.github.io/en/react-native/react-native-firebase-admob/

检查这个人的博客。在他的特定案例中,他正在集成 Firebase 和 Admob,但第一部分实际上描述了如何安装和设置 RNFirebase 包。

关于ios - Firebase iOS 卡在 'Run your app to verify installation',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56328562/

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