apple-app-site-association文件格式错误

时间:2015-10-09 06:14:51

标签: ios ios9 xcode7 deep-linking ios-universal-links

    *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

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

2 个答案:

答案 0 :(得分:2)

似乎应该用您的REAL TeamId和REAL包ID替换TeamId.com.Company.AppName。

看看这个是exmaple https://routes.tips/apple-app-site-association

它既没有签名,也在工作和通过验证

答案 1 :(得分:0)

逗人

还有一个关于TeamID的问题,特别是在一个帐户中有多个应用程序。

请将use the App IDs prefix添加到a​​pp-app-site-assiciation的appID中。