How do I debug my Siri (Intents) extension?

橙三吉。 提交于 2019-12-04 07:12:05

just select your siri extension scheme and hit run button, then xcode will prompt a list of applications for you to choose, just choose your app, for more details, please checkout the article:http://jamesonquave.com/blog/adding-siri-to-ios-10-apps-in-swift-tutorial/

  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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!