Pass deep link into iOS Simulator?

patreu22 picture patreu22 · Oct 10, 2017 · Viewed 36k times · Source

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 open deep links with the latest iOS Simulator?

Answer

Adam picture Adam · Oct 10, 2017

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.