Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Universal link works in xcode8 simulator but not on ios 10 device

Recently I upgraded to xcode 8. I have universal links configured and used to work fine until I released a newer version built on xcode 8.

Surprisingly, universal link works when I am testing in simulator - I can press right corner, then it opens in Safari - again I press right corner, it shows me OPEN banner which opens the app. Also clicking on URL embedded in email works.

However I can't open any of my links in app on my device. My app name is kabuter and apple-app-site-association file is at https://www.kabuter.com/.well-known

I checked and confirmed that my app build contains entitlement file (which contains applinks entries).

In apple appsearch-validation-tool, I am getting:

Link to Application

ACTION REQUIRED

Could not extract required information for Universal Links. Learn how to implement the recommendedUniversal Links.

Extracted Data

Error no apps with domain entitlements The entitlement data used to verify deep link dual authentication is from the current released version of your app. This data may take 48 hours to update.

branch.io validator https://branch.io/resources/universal-links/ passes all tests.

I am also seeing this in my log when I connect my device to xcode:

logging for process kabuter

2016-10-12 19:48:27.247786 kabuter[619:90471] WF: _userSettingsForUser mobile: {

    filterBlacklist =     (
    );

    filterWhitelist =     (
    );

    restrictWeb = 1;

    useContentFilter = 0;

    useContentFilterOverrides = 0;

    whitelistEnabled = 0;

}

2016-10-12 19:48:27.248052 kabuter[619:90471] WF: _WebFilterIsActive returning: NO

Has anyone encountered this issue and found solution? Any pointers?

like image 836
donlys Avatar asked Oct 18 '16 15:10

donlys


People also ask

Does universal links work in simulator?

Universal Link works only on simulator.

How do I connect my iPhone to simulator?

How to select your iPhone as the “Simulator” Device. Simulator is in quotes here since this will create an actual app on your phone; it's no longer a simulation. Open up a project in Xcode and click on the device near the Run ▶ button at the top left of your Xcode screen. Plug your iPhone into your computer.


1 Answers

Sounds like you may have inadvertently disabled Universal Links on that device. Fortunately it's fairly simple to re-enable them:

  1. Get a Universal Links URL
  2. Paste that URL into Notes
  3. Long-press on the URL and select 'Open in [app name]'
like image 98
Alex Bauer Avatar answered Nov 15 '22 04:11

Alex Bauer