ios通用链接(Universal Link)的处理

来源:互联网 发布:京东数据开放平台 编辑:程序博客网 时间:2024/05/23 02:07

官方文档https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html

是扯淡的, 跟着走行不通。

下面这个步骤是靠谱的,

https://gist.github.com/anhar/6d50c023f442fb2437e1#sign-the-apple-app-association-file-using-openssl

其实关键就是apple-app-site-association要不要sign,实践证明是需要的, 否则会报错误:

Rejecting URL 'https://domain.com/apple-app-site-association' for auth method 'NSURLAuthenticationMethodServerTrust': -6754/0xFFFFE59E kAuthenticationErr

原创粉丝点击