Pass deep link into iOS Simulator

2020-05-20 07:01发布

问题:

I would like to find an easier way to call deep links in the iOS simulator.
On Android you can use ADB to pipe links into the simulator by using the console.
Is there a similar way or a workaround to do that with the latest iOS simulator?

Best Regards and thank you very much!

回答1:

You can type this into your Terminal :

xcrun simctl openurl booted <INSERT_URL_HERE>

You can even share documents using the builtin Share Extension from the Finder to the iOS Simulator.



回答2:

As an alternative, you can use ControlRoom open-source tool. Basically it's a wrapper above simulator cli.