Sign apple-app-site-association

gran33 picture gran33 · Sep 29, 2015 · Viewed 9.1k times · Source

I try to implement the iOS9 Universal Links.

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.

I would apple-app-site-association file.

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

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

Form Apple docs:

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

Any support will be great.

Thanks in advance!

Answer

Dave Morehouse picture Dave Morehouse · Oct 16, 2015

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).

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