Siri Shortcut (Like Soup Chef)

I'm working on adding a SiriKit Shortcut in my app just how they did in Session 211 "Introduction to SiriKit Shortcuts" at WWDC 2018.


My app already uses NSUserActivity for a particular view controller but I am adding an INIntent shortcut and donating it so that I can leverage the extra features provided by SiriKit. I've created the necessary custom intent and have the generated code files for it. I have all the appropriate entries in my info.plist files and the Intents file has the targets set appropriately. I've also filled in the appropriate handlers in the Intents Extension and the App Delegate. I don't think I'm missing anything? I double, tripple, quadrupled checked with the SoupChef sample project.


The donate function has a completion handler but it does not return with an error. The error is always nil so I assume that it went through correctly.


In the video, once the they call donate, they go over to the Settings app and go to the Siri section. They see the shortcuts listed there at the top. I'm not seeing mine! Not sure what I am doing wrong.


If you go to the Developer section in the Settings app in the Simulator, you can also see that there are options to simulate the shortcut being displayed in your lock screen or Siri Suggestions screen. This is how the demo it in the session video. I have these options turned on as well but I don't see my shortcuts anywhere. I don't know where I am going wrong. 😟

Replies

Seen this same topic thread:


Re: SoupChef Siri Shortcut not working(Message) By Marconelly, posted Jun 5 2018