签署苹果应用程序站点关联 [英] Sign apple-app-site-association

查看:92
本文介绍了签署苹果应用程序站点关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试实现iOS9 Universal Links.

我正在使用本教程: http://blog.hokolinks.com/如何在iOS 9/上实现apple-universal-links 还有这个: https://developer.apple.com/library/ios/documentation/安全性/参考/SharedWebCredentialsRef/

I m using this tutorial: http://blog.hokolinks.com/how-to-implement-apple-universal-links-on-ios-9/ And this: https://developer.apple.com/library/ios/documentation/Security/Reference/SharedWebCredentialsRef/

但是他们都没有完成整个过程.

But none of them did the whole process.

我会apple-app-site-association文件.

上面的链接说是这样做的:

The above links say to do it this way:

cat json.txt | openssl smime -sign -inkey example.com.key
                            -signer example.com.cert
                            -certfile intermediate.cert
                            -noattr -nodetach
                            -outform DER > apple-app-site-association

而且我没有.cert文件(也不知道如何创建).

And I don't have the .cert files (and don't know how to create it).

表格Apple文档:

该文件必须由有效的TLS证书进行CMS签名.

The file must be CMS signed by a valid TLS certificate.

任何支持都会很棒.

提前谢谢!

推荐答案

从iOS 9开发人员种子2开始,您不再需要为通用链接签名apple-app-site-association文件.网络上的大多数地方仍然像官方Apple Docs一样提到需要对文件签名.这是WWDC会话,宣布您不再需要对该文件签名. https://developer.apple.com/videos/play/wwdc2015-509/转到〜14分钟观看视频,他们宣布了这一点和限制(与iOS 8向后兼容).

As of iOS 9 developer seed 2, you no longer need to sign the apple-app-site-association file for Universal links. Most places on the web still reference the need to sign the file as do the official Apple Docs. Here's the WWDC session where it was announced that you no longer need to sign the file. https://developer.apple.com/videos/play/wwdc2015-509/ goto ~14 mins in to the video where they announce this and the limitations (not backwards compatible with iOS 8).

我已验证通用链接在iOS 9官方发行版中可以处理未签名的文件.

I have verified that Universal Links work with unsigned files on the official iOS 9 release.

这篇关于签署苹果应用程序站点关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆