ios-branch-deep-linking-attribution: Universal links not working

I can’t get universal links to work in iOS 9. I followed the guide and everything is setup properly in the app, on the apple dev portal, in the provisioning profiles and in the branch dashboard. Minimum deployment target is iOS 8.2.

I’ve checked my device logs and it seems there is some error with the apple-app-site-association on the branch website. SSL certificate troubles?

Sep 12 12:19:01 TF6 swcd[270] <Notice>: 2015-09-12 12:19:01.811913 PM [SWC] ### Rejecting URL 'https://htl.st/apple-app-site-association' for auth method 'NSURLAuthenticationMethodServerTrust': -6754/0xFFFFE59E kAuthenticationErr

Bundle id is com.hitlistapp.ios

My entitlements file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>com.apple.developer.associated-domains</key>
        <array>
            <string>applinks:bnc.lt</string>
            <string>applinks:htl.st</string>
        </array>
        <key>com.apple.security.application-groups</key>
        <array>
            <string>group.com.hitlistapp.ios</string>
        </array>
    </dict>
</plist>

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

Had this issue too (Universal Links weren’t working on cold boot)

If you’re ALSO integrating the Facebook SDK, they instruct you to make the last line of your didFinishLaunching method:

return [[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];

I discovered this actually prevents the continueUserActivity AppDelegate method from firing on a cold boot, which breaks universal links. Changing the end of my didFinishLaunching to:

[[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
return YES;

fixed the issue. Hope this helps someone else!