简体   繁体   English

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

[英]The apple-app-site-association file format error

    *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"
                        ]
                    }
                ]
            }
    }    

I saw this videos from WWDC 2015 "Seamless linking to your Apps" and "Introducing Search API" and read this App Search Programming Guide. 我在WWDC 2015“无缝链接到您的应用程序”和“介绍Search API”中看到了这些视频,并阅读了此应用程序搜索编程指南。

My website have an SSL certificate (from Authority certified) and my apple-app-site-association is inside https://www.mywebsite.com/apple-app-site-association 我的网站有SSL证书(来自Authority认证),我的apple-app-site-association在https://www.mywebsite.com/apple-app-site-association里面

I don't know what is wrong with the file. 我不知道文件有什么问题。 I think syntax error can be but I cant see it.* 我认为语法错误可能但我无法看到它。*

seems like you should replace TeamId.com.Company.AppName with your REAL TeamId and REAL bundle id. 好像你应该用你的REAL TeamId和REAL bundle id替换TeamId.com.Company.AppName。

Look at this one for exmaple https://routes.tips/apple-app-site-association 看看这个用于exmaple https://routes.tips/apple-app-site-association

It`s nor signed, but working and passing validation 它既没有签名,也在工作和通过验证

Dears 亲爱

There is one more issue about TeamID, especially more than one apps in one accout. 还有一个关于TeamID的问题,特别是一个appout中的多个应用程序。

Please use the App IDs prefix into your appID of app-app-site-assiciation. 在App -app-site-assiciation的appID中使用App ID前缀

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS 13 Apple-App-Site-Association 文件格式更改 - iOS 13 Apple-App-Site-Association file format changes >= 400 错误代码与 apple-app-site-association json 文件 - >= 400 error code with apple-app-site-association json file apple-app-site-association文件的位置 - Location for apple-app-site-association file 如何在 ReactJS 中的 /apple-app-site-association 页面上提供 apple-app-site-association 文件 - How to serve apple-app-site-association file on /apple-app-site-association page in ReactJS 找到了apple-app-site-association文件,但它没有遵循所需的格式 - The apple-app-site-association file was found but it doesn’t follow the required format Apple-app-site-association:横幅显示,而服务器中没有文件 - Apple-app-site-association : banner displays while no file in server 苹果应用站点关联文件无法为某些用户下载 - Apple-app-site-association file fails to download for certain users iOS 通用链接 apple-app-site-association 文件问题 - iOS Universal links apple-app-site-association file issue DeepLinking apple-app-site-association文件是否需要签名? - Does DeepLinking apple-app-site-association file need signing? 配置 apple-app-site-association 文件并上传到服务器 - Configure apple-app-site-association file and upload on server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM