首页 文章

Universal Links无效

提问于
浏览
0

我几乎尝试了一切,但我无法让Universal Links工作 . 我正在使用iOS 11.3在物理设备上使用Xcode 9.3进行测试 .

在我的服务器上,我安装了apple-app-site-association文件,AASA验证器(https://branch.io/resources/aasa-validator/)没有问题 .

文件内容:

{
  "applinks": {
    "apps": [],
    "details": [
      {
        "appID": "TEAMID.bundle-identifier",
        "paths": [ "*", "/" ]
      }
    ]
  }
}

AASA结果:
AASA result

我还检查了TeamID和BundleIdentifier . Xcode中的Entitlements包含正确的值:
enter image description here

但仍有任何链接重定向到Safari,从长按菜单打开..不可用 . 从我的服务器日志,似乎永远不会下载 apple-app-site-association 文件 .

Update

apple-app-site-association 文件没有文件扩展名 . 我试过安装Xcode以及TestFlight .

来自Xcode的Associated Domains:
enter image description here

2 回答

  • 0

    我认为它应该是权利文件中的 applinks: 而不是 applink:

  • 1

    问题与此博客中描述的相同_1123475_

    我卸载,重新启动并安装了3次,然后开始工作 .

相关问题