Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you debug opening universal links from a cold start?

Universal links & deep links works when I am already debugging the app.

However I can't test opening a link from a cold start. I.e. Tapping on a link on safari when the app is not running.

I cant see how to attach the debugger if Xcode does not launch the app itself.

I assumed the answer would be create a custom scheme, but I can't see any options to open the app with web link.

scheme options

like image 814
Robert Avatar asked Feb 07 '17 11:02

Robert


People also ask

How do I debug a deep link?

Choose Wait for executable to be launchedNow fire up the deep link or notification to launch the App. Debugger attaches to the app process automatically. Quit and relaunch the App. Do this multiple times if required.

How do I enable universal links in iOS?

How do I set up Universal Links for my app? Log into your Apple developer account and go to the app's ID page. Enable the Associated Domains app service. Take note of your Prefix (bundle ID) and your ID (team ID) - you will need them later.


1 Answers

You should use the Wait for executable to be launched configuration option. See here for instructions.

like image 194
Alex Bauer Avatar answered Sep 18 '22 03:09

Alex Bauer