5

I haven't been able to add some basic SiriKit actions to my macOS app in macOS Monterey. To test this out, I created a new project, made it a macOS app with Storyboard. Then I added an intents definition file, and added a basic intent, with no inputs/outputs. I added the intent name to "Supported Intents" in the target "General" configuration.

When I build and run the app, the shortcut doesn't show up in the Apple Shortcuts app. I've tried looking for the "Siri" capability in "Signing & Capabilities" and it's not listed there (compared to a new iOS app where it would be).

I'm not sure what I'm missing here. Would love some help.

BTW, I'm using Xcode 13.1 on macOS Monterey RC.

This is what my Custom Intent looks like.

enter image description here

Z S
  • 7,039
  • 12
  • 53
  • 105
  • Hi, I am trying to locate that TestingSiriKitMac Xcode project, everything is iOS and I can't seem to convert it. any idea? – moonmonkey Jan 20 '23 at 05:36

1 Answers1

5

I had the same problem with our existing app. Deleting my app from my Mac (the current App Store version) and deleting the derived data in Xcode did the trick.

KerstinCoder
  • 116
  • 5
  • Thanks for the tip! But I was trying this on a brand-new project ... not one for an existing App Store app (though I need to do that in the future as well) – Z S Oct 21 '21 at 17:04
  • Actually think it might have been something to do with me using an incorrect name in the "Supported Intents" section. It seems to work now! – Z S Oct 21 '21 at 18:26
  • 1
    Deleting the App Store version was needed in my case. – Barnyard Oct 28 '21 at 14:00
  • Thanks for the tip! I deleted the same production app in `/Applications`. Now it appears in the shortcuts app. – Honghao Z Oct 12 '22 at 23:52