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?