Kev*_*ann 5 xcode ios ios-universal-links
我几乎尝试了所有方法,但无法使通用链接正常工作。我正在使用 iOS 11.3 的物理设备上使用 Xcode 9.3 进行测试。
在我的服务器上,我安装了 apple-app-site-association 文件,AASA 验证器(https://branch.io/resources/aasa-validator/)没有任何问题。
文件内容:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "TEAMID.bundle-identifier",
"paths": [ "*", "/" ]
}
]
}
}
Run Code Online (Sandbox Code Playgroud)
我还三次检查了 TeamID 和 BundleIdentifier。Xcode 中的权利包含正确的值:

但仍然有任何链接重定向到 Safari,长按菜单中的“打开方式”不可用。从我的服务器日志来看,该文件似乎apple-app-site-association从未被下载。
更新
apple-app-site-association文件没有文件扩展名。我尝试通过 Xcode 和 TestFlight 安装。
问题与此博客文章中描述的相同https://blog.branch.io/notice-inconcient-universal-link-behavior-on-ios-11-2/
我卸载、重启、安装了3次,然后就开始工作了。
| 归档时间: |
|
| 查看次数: |
7652 次 |
| 最近记录: |