I need to open the app on saying “Hey siri, Ship Cash”?
I’m having a cash switch app .I need to add siri assist.resembling on saying “Hey siri, Ship Cash”? It ought to open the app (if not working) and go to a particular display screen.
I’ve tried including the app intents extension and the next code.
import AppIntents
struct SendMoney: AppIntent {
static var title: LocalizedStringResource = "SendMoney"
func carry out() async throws -> some IntentResult {
return .end result()
}
}
struct MyAppShortcuts: AppShortcutsProvider{
static var appShortcuts: [AppShortcut]{
AppShortcut(intent: SendMoney(), phrases: ["Transfer Money in DemoApp"])
}
}
I obtain the next error after this
“Please test your venture settings and make sure that a legitimate product has been constructed.”