如何使用Safari中的URL方案启动应用程序时进行调试

时间:2022-09-25 19:01:31

I want to test my app for my app launched with a URL scheme from Safari, how can that be done?

我想测试我的应用程序是否使用Safari中的URL方案启动我的应用程序,如何做到这一点?

1 个解决方案

#1


5  

Have a look at the answer to this question:

看看这个问题的答案:

Debugging App When Launched by Push Notification

推送通知启动时调试应用程序

It's a different question but the same answer. In summary you select the "Start executable after starting debugger" option in XCode, but the original answer is good so I won't duplicate it entirely!

这是一个不同的问题,但同样的答案。总之,您在XCode中选择“启动调试器后启动可执行文件”选项,但原始答案是好的,所以我不会完全复制它!

#1


5  

Have a look at the answer to this question:

看看这个问题的答案:

Debugging App When Launched by Push Notification

推送通知启动时调试应用程序

It's a different question but the same answer. In summary you select the "Start executable after starting debugger" option in XCode, but the original answer is good so I won't duplicate it entirely!

这是一个不同的问题,但同样的答案。总之,您在XCode中选择“启动调试器后启动可执行文件”选项,但原始答案是好的,所以我不会完全复制它!