1

I am trying to set-up universal links for an iOS app.

The Apple search validator keeps failing when I try to validate the file apple-app-site-association with error message:

Unable to parse that webpage URL. Try a different URL.

The file content is correct, I tried with already validated files from other websites but it seems the crawler fails to access the website generally.

The domain and website are hosted on a shared server at 1and1.com without SSL. The file is not signed.

Any idea why that is?

4

2 回答 2

1

这是“App Search API Validation Tool”,而不是“Universal Links Validation Tool”(Apple 不存在)。此工具的结果与通用链接是否工作无关。

也就是说,您必须拥有 SSL 才能使通用链接正常工作。这是第一个要求。如果您不能/不想进行设置,请查看 Firebase Dynamic Links 或Branch.io等外部链接托管服务(完全披露:我在 Branch 团队)

于 2016-12-21T19:45:03.993 回答
0

关于“您必须拥有 SSL 才能使通用链接工作。这是第一要务”。这不再是一个要求。

如果您的应用在 iOS 9 或更高版本中运行,并且您使用 HTTPS 来提供 apple-app-site-association 文件,您可以创建一个使用 application/json MIME 类型的纯文本文件,而无需对其进行签名。

于 2021-06-03T16:15:25.727 回答