简体   繁体   English

apple-app-site-association文件的位置

[英]Location for apple-app-site-association file

I have a web app and an iOS app that I have enabled universal links for, as per this guide . 我有一个网络应用程序和一个iOS应用程序,我已根据本指南启用了通用链接。

The guide states that the file apple-app-site-association must be in the root of the domain, which I have done. 该指南指出,文件apple-app-site-association必须位于域的根目录中,这已经完成了。

Why then, is my web app's error logs full of 404's for the URL /.well-known/apple-app-site-association ? 那么,为什么我的网络应用程序的错误日志记录为URL /.well-known/apple-app-site-association的404?

devices running iOS 9.3 will first request /.well-known/apple-app-site-association for the apple-app-site-association file that is required to implement Universal Links and Shared Web Credentials. 运行iOS 9.3的设备将首先请求实现Universal Links和Shared Web Credentials所需的apple-app-site-association文件的/.well-known/apple-app-site-association。 If the file is not found in this location, then the device will request the file in the root of the web server, as with prior releases of iOS 9. 如果在此位置找不到该文件,则设备将在Web服务器的根目录中请求该文件,与之前版本的iOS 9一样。

https://developer.apple.com/library/content/qa/qa1919/_index.html https://developer.apple.com/library/content/qa/qa1919/_index.html

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM