Pass deep link into iOS Simulator

2020-05-20 07:20发布

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!

2条回答
疯言疯语
2楼-- · 2020-05-20 07:47

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

ControlRoom Open URL

查看更多
做自己的国王
3楼-- · 2020-05-20 07:53

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.

查看更多
登录 后发表回答