swiftmacosmac-catalystsirishortcutsmacos-monterey

On macOS Monterey, cannot create shortcut actions with Catalyst


We are trying to create shortcut actions with Catalyst.

Our app is already available on Mac, and we previously integrated the intents framework on iOS. So according to the WWDC21 "Meet Shortcuts on macOS" presentation, "it's likely that [we] have compiled out [our] Intents integration in the process of coming to Mac". So, it's no surprise that we cannot create shortcut actions for Mac in our app with Catalyst.

The WWDC presentation suggests to "make sure to audit your code to re-enable this functionality when running on macOS Monterey." We do not understand what we need to do based on this suggestion.

What we tried so far :

Has anyone found a solution in a similar situation ?


Solution

  • When creating a shortcut action, Shortcuts get mixed up with app identifiers. You therefore need to delete all the compiled versions of your app.