How do I debug my Siri (Intents) extension?

前端 未结 3 968
北荒
北荒 2021-02-20 00:20

I\'m building a Siri aka Intents extension. I do understand that I can attach the debugger to a running process after start, however, I never s

3条回答
  •  别那么骄傲
    2021-02-20 00:37

    1. Run your app in device first.

    2. Select SIRIKIT extension scheme run in your device, select your app from the list prompted.

    3. Wait for SIRI to be active, send your running SIRIKIT extension into background.(Some times you need not to do this step also).

    4. Activate SIRI by pressing home button again, give a command and you will see your breakpoints working inside Intent Handler.

提交回复
热议问题