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

App Shortcuts Preview: No Matching Intent?
 
 
Q