*I have error message from API Validation Tool from Apple*

      **The apple-app-site-association file was found but it doesn’t follow the required format. Learn how to format the apple-app-site-association file.**

    *My apple-app-site-association file:

        {
            "applinks": {
                "apps": [],
                "details": [
                    {
                        "appID": "TeamId.com.Company.AppName",
                        "paths": [
                            "/path1-*",
                            "/path2",
                            "/path3-*",
                            "/path4"
                        ]
                    }
                ]
            }
    }

我在 WWDC 2015“无缝链接到您的应用程序”和“介绍搜索 API”中看到了这个视频,并阅读了这个应用程序搜索编程指南。

我的网站有一个 SSL 证书(来自权威认证),我的 apple-app-site-association 位于 https://www.mywebsite.com/apple-app-site-association

我不知道文件有什么问题。我认为可能是语法错误,但我看不到。*

最佳答案

似乎您应该将 TeamId.com.Company.AppName 替换为您的 REAL TeamId 和 REAL bundle id。

以这个为例
https://routes.tips/apple-app-site-association

它没有签名,但可以工作并通过验证

关于ios - apple-app-site-association 文件格式错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/33031115/

10-12 01:00
查看更多