SoupChef Siri Shortcut not working

Using the sample code for shortcuts here, https://developer.apple.com/documentation/sirikit/accelerating_app_interactions_with_shortcuts I am unable to get the shortcut to execute. Siri simply responds with "Sorry, there was a problem with the app."


No ammount of logging or attempts at attaching the debugger provide more information.


Has anyone got this working? I am using the iPhone X Simulator on 12.0 beta 1 with Xcode 10 beta 1.

Answered by Marconelly in 314726022

Yes, I can now confirm it works on a real phone. Even though it has no requestSiriAuthorization, or Siri privacy description plist entry which I thought was really strange at first - but I think I understand a bit better now.


This app doesn't actually let you say something like "Order 1 Tomato Soup using Soup Chef" to Siri, which would then proceed making the order using Siri Intent UI, like you can do with a SiriKit app that, for example, sends messages (one of the pre-approved SiriKit intent domains). This app only lets you manually save a shortcut (and it also automatically donates a shortcut when you make an order) for an action you've performed. So really, considering that user is 100% in charge of creating or using these shortcuts, there's no need for some kind of prior Siri authorization, I guess.


I'm not sure anymore if it's really even possible to create an app in iOS12 that would do the "Order 1 Tomato Soup using Soup Chef" custom intent parsing, without a prior shortcut creation? Watching Craig's presentation of the Tile app, and other quick examples he gave, they all seem to behave a lot like the Soup Chef app - you only record a voice shortcut to an already established action, and there's no custom intent parsing. This is something I'm very ineterested in, as I could apply it to my apps, but even just shortcuts creation alone is very good to have, to be honest. I can implement that in my apps in many useful ways.

I'm going to try restore from ipsw tonight, and see if that does anything. I doubt it will, but who knows.

Please let us know :]

If restore works, I don't mind do that as well.

I only did an update from the ipsw file, and it didn't help. Everything's the same as before.


I've also noticed (even before I did this update) that after every phone restart it takes a very long time before any of my custom shortcuts even become visible. It takes about few hours I think - but even once they become visible, they still don't work, and I just get that same error message that there is a problem with the app. I think we just have to wait :\

Yep.... I tried upgraded another iphone to iOS 12 beta today and only tried the SoufChef app, after the shortcut has been added, Siri still cannot recognize the command, instead showed an error message "Sorry, you'll need to continue in the app", the message seems a little different, anyway seems Siri will try to reach the web service before it launchs the app, or it doesn't makes sense that it didn't work for the first time after the phone was upgraded to iOS 12, and Siri apparently knows which app to launch, it just would't love to open it somehow, interesting.

It all started working again just now!

Siri giveth and Siri taketh away.

Interesting, my custom intent now works once again, however it has a funny bug. So my custom reponse has 2 integer properties, however Siri won't say the values instead she says [object Object].


Anyone else experiencing this?

I'm seeing more strange behavior on iOS 12 beta 2: the SoupChef shortcut is working, but in the IntentsUI extension, the intentResponse field of the interaction is nil. The result is that the confirmation view controller just has yes and no buttons, and the rest of the UI isn't populated. Anyone else seeing the same thing (5pm PST on June 19)?


—Chris

Yes, I just came in to ask if anyone else has noticed a problem with intentReponse in the UI. It seems like intent response is always nil now. This is the case with my app as well.


Another thing I've noticed is that only some Intent categories can be used. For example, 'Order' and 'Start' work, but 'Do' does not. Not a big deal for in-progress developmnet, as these categories essentially only seem to be changing the automatic wording that Siri prints out, but still, if this is a global problem right now, people developing should know to stick with 'Start' or 'Order' category for their testing.

I can't even see any response properties in the UI, because the the intentResponse always comes as nil in UI. I am able to set the intent response properties in the intent handler, but then I can't retrieve them in the UI.

So it looks like this again stopped working entirely, with beta 3? Today I spent hours debugging the Intent Shortcuts in my watch app that kept refusing to work - only to find that it stopped working in the iOS app as well, and is in fact not even able to list my recorded shortcuts anymore. Soup Chef app is similarly affected. Is this also happening to anyone else?

SAME ERROR:


I did a demo app with custom intent , my App was working as expected until yesterday afternoon, suddenly stopped responding for siri commands.I am not even able to record a custom phrase for my intent anymore.

I also need to parse parameters in my intent, I hope this will be possible soon. I have an app for tracking working time and I need something like "add 5 hours and 30 minutes working time using Time Guard (name of my app"

I have created Siri shortcut for my app. It is working for success case. Whenever i try to call failure status on completion handler with custom message, it says "Sorry, there was a problem with app". This started happening from past week or so, anybody facing similar issue.

SoupChef Siri Shortcut not working
 
 
Q