App Shortcuts Preview: No Matching Intent?

Hi!

In neither Xcode 16.2 beta 3 nor Xcode 16.2 I am able to get App Shortcuts Preview to recognise my Shortcuts. In either supported language I always get "No Matching Intent" as the result.

Flexible matching is enabled, minimum deployment target is iOS 18. The Shortcut phrases do work in the simulator and on device.

Is this a known issue or am I missing something?

What happens if you add a new string catalog named AppShortcuts.xcstrings to your project?

—Ed Ford,  DTS Engineer

Thanks for looking into this. I do have AppShortcuts.xcstrings in my project already (project default language is English, localization for German).

The phrases do work in the simulator and on device in both languages, but I still get "No Matching Intent" in the latest Xcode Version 16.2 (16C5032a) when trying to use App Shortcuts Preview.

I do have a localized app name (which seems to cause an issue in SiriTipView), so maybe this is related?

Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

—Ed Ford,  DTS Engineer

Hi Ed @DTS Engineer, I'm encountering the same issue. Even in the Trails Sample App from WWDC.

If you build and run this project, the App Shortcuts are recognized in an iOS simulator and on a device. But in Xcode's App Shortcuts Preview tool, every utterance seems to return No Matching Intent, even when entering verbatim ones defined in the App Shortcut's phrases array.

FB16432161

I can confirm what you're seeing there @bondad. I appreciate you filing FB16432161 for us to take a look.

—Ed Ford,  DTS Engineer

App Shortcuts Preview: No Matching Intent?
 
 
Q