【问题标题】:How to change of Firebase Project for iOS app如何更改 iOS 应用的 Firebase 项目
【发布时间】:2021-09-02 14:35:10
【问题描述】:

我正在尝试转移到另一个 firebase 项目并在我的 iPhone 上运行它。但是,当我使用我的电子邮件 ID 和密码登录时,该应用程序似乎与以前的 firebase 项目而不是新项目相关联。我需要将我的 ios 应用程序连接到新的 firebase 项目。顺便说一句,我正在使用flutter和android studio。我已经在 ios 文件夹下的颤振项目中放置了正确的包 ID 并下载了新的 firebase 项目的 googleinfo.plist。请帮忙

【问题讨论】:

    标签: ios firebase flutter google-cloud-firestore firebase-authentication


    【解决方案1】:
    • 在 firebase 中检查新项目的 bundle id。
    • 如果 firebase 上的 bundle id 与您的项目 bundle id 相同,请删除 GoogleService-Info.plist。
    • 在firebase中下载新项目的GoogleService-Info.plist,打开Xcode然后点击add file to runner
    • 选择新的 GoogleService-Info.plist。
    • 扑干净
    • 颤动运行

    【讨论】:

    • 谢谢你会这样做并让你知道它是否有效
    • 如果我对此问题还有其他问题,会通知您
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-16
    • 2021-06-17
    • 2020-09-01
    • 2022-01-23
    • 2011-05-21
    • 1970-01-01
    相关资源
    最近更新 更多