我的应用的相关域名无法运行iOS 11.4和iOS 12测试版。经过一些研究后,我发现在iOS 11.4之后,当服务器响应301重定向到error.html时,只请求/.well-known/apple-app-site-association。
" GET /.well-known/apple-app-site-association HTTP / 1.1" 301 194" - " " swcd(未知版本)CFNetwork / 948.2.1 Darwin / 18.0.0"
" GET /.well-known/apple-app-site-association HTTP / 1.1" 301 194" - " " swcd(未知版本)CFNetwork / 948.2.1 Darwin / 18.0.0"
在iOS 11.4之前,当/.well-known/apple-app-site-association失败时,iOS会请求/ apple-app-site-association,并且日志是这样的:
" GET /.well-known/apple-app-site-association HTTP / 1.1" 301 194" - " " swcd(未知版本)CFNetwork / 948.2.1 Darwin / 18.0.0"
" GET / apple-app-site-association HTTP / 1.1" 200 466" - " " swcd(未知版本)CFNetwork / 948.2.1 Darwin / 18.0.0"
有谁知道这是iOS 11.4上的错误还是关于301重定向的新限制?