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?
Another very simple method of opening deeplinks in iOS simulator is: Copy the deeplink to clipboard. Open Safari application in your iOS simulator and paste your deeplink url in safari.
Unlike most of the discussion you'll see on the web that suggests otherwise, it turns out you can actually test out your Universal Links on the iPhone simulator.
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.
Here's another approach:
In the Simulator
Pro tip: You can add custom labels to the URL entries, for example if you want to test different URLs and be able to identify them quickly.
Note: If you reset the Simulator, the Contacts app will be reset to default and lose the URL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With