iOS 应用缺少应用 ID 前缀。该应用程序未启用 UniversalLinks。在哪里输入App ID?

iOS app lacks App ID Prefix. UniversalLinks is not enabled for the app. Where to enter the App ID?

我收到 Firebase Dynamic Link 错误

iOS app lacks App ID Prefix. UniversalLinks is not enabled for the app.

奇怪的是,我有 3 个 ID

  1. 捆绑包 ID (8NF32DY4EL.app.myapp.ios)
  2. 团队编号 (EASLU367HG)
  3. 应用程序前缀 (Q6AUGEP5N5)

当我进入 Firebase 设置时,它只让我添加一个团队 ID。捆绑 ID 字段显示为灰色。我找不到添加App前缀的地方。

这就是 Apple App 站点关联文件的样子

{
"applinks": {
    "apps": [],
    "details": [{
        "appID": "EASLU367HG.8NF32DY4EL.app.myapp.ios",
        "paths": [
            "NOT /_/*",
            "/*"
        ]
    }]
}

json 中的 appID 字段是 [TEAMID][BUNDLEID]。没有 App 前缀。 8NF32DY4EL 是 Bundle ID 的一部分(我知道这很奇怪)。

我在哪里可以设置 Firebase 中的 App 前缀?

这是 https://developer.apple.com/account/resources/identifiers/bundleId/edit 的 3 个 Apple ID

以下是 https://console.firebase.google.com/u/0/project 中的 Firebase 设置

这是动态 link 错误

我在创建 firebase 动态时也收到了这个警告 link。

就我而言,我意识到 Google Cloud Console > API & Services > Credentials > OAuth 2.0 Client IDs > iOS client 下自动生成的 Bundle ID 是错误的(例如: 缺少一个 'e')。更正此警告后,警告不再存在。