[英]Xcode 12.1, disabled Bundle Identifier <Multiple Values> field, Flutter App
Problem I am having an issue with one of my Xcode projects (Flutter App) when incorporating Firebase Authorization into it.问题我的一个 Xcode 项目(Flutter 应用程序)在将 Firebase 授权并入其中时遇到问题。 I need to be able to set the Bundle Identifier (in General tab, of Runner) as part of the Firebase configuration, unfortunately the field itself is "disabled".我需要能够将 Bundle Identifier(在 Runner 的 General 选项卡中)设置为 Firebase 配置的一部分,不幸的是,该字段本身已“禁用”。 I can not: click into it, tab in, nor update it via the info.plist file, nor update it via the Info tab.我不能:点击进入,标签,也不能通过 info.plist 文件更新它,也不能通过信息选项卡更新它。 I can: make changes to the info.plist field and the Info tab Bundle Identifier field, but they do not change/update the General tab Bundle Identifier.我可以:对 info.plist 字段和信息选项卡捆绑标识符字段进行更改,但它们不会更改/更新常规选项卡捆绑标识符。 It remains a constant:它保持不变:
Bundle Identifier:捆绑标识符:
Does anyone have any idea how to resolve this issue?有谁知道如何解决这个问题? Or some troubleshooting to try?或者尝试一些故障排除?
Stats/Details: Android Studio: version 4.1 Xcode: version 12.1 MacOS Catalina: 10.15.7 Firebase Auth: latest version Nov 07 2020统计/详细信息: Android Studio:4.1 版 Xcode:12.1 版 MacOS Catalina:10.15.7 Firebase Auth:最新版本 2020 年 11 月 7 日
Other projects on Xcode do not have this problem, only this specific project is having this issue and only this project uses Firebase, however this field was disabled before I went to add Firebase. Xcode 上的其他项目没有这个问题,只有这个特定项目有这个问题,只有这个项目使用 Firebase,但是在我去添加 Firebase 之前这个字段被禁用了。 Info.plist screen with Bundle Identifier field default General tab with Bundle Identifier field disabled Info.plist 屏幕,带有 Bundle Identifier 字段默认通用选项卡,Bundle Identifier 字段被禁用
You can try with below steps for updating bundle identifier,您可以尝试使用以下步骤来更新包标识符,
in Visual Studio Code, similar to Ameer, with minor changes, this didn't happen because of firebase, so might not be the full solution to the issue above.在 Visual Studio Code 中,与 Ameer 类似,经过细微更改,这不是因为 firebase 而发生的,因此可能不是上述问题的完整解决方案。
(note - I would have put a comment but I'm not allowed to) (注意 - 我会发表评论,但我不允许)
确保所有包标识符都相同(您可能会发现您在这些 PROJECT_NAME_INDETIFIERS 之一中拼错了一个字母,或者另一个字段中的一个字母与另一个不同)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.