Are App Intents supported on watchOS?

I'm trying to implement App Intents and App Shortcuts on watchOS. To do that, I included my AppIntent and my AppShortcutsProvider to the WatchKit extension target. The intent has one variable parameter:

@Parameter(title: "Category",
		   description: "Category",
		   requestValueDialog: "What are you searching for?")
var category: String

However, when I speak the invocation phrase to Siri on the watch, Siri immediately responds there's something wrong. My perform() method isn't even called and there's nothing in the log.

Is this supposed to work? How could I debug this? Is there a sample app showing App Intents on watchOS?

Post not yet marked as solved Up vote post of ortwin Down vote post of ortwin
1.3k views

Replies

Same problem here. Same code works on iOS 16 but not on watchOS 9 (tested also on watchOS 9.2)

This problem seem to exist even under watchOS 10 beta 3. So, since perform() is not called, widgets of watchOS cannot be interactive and they launch the associated watch app.