Hi @jorge_mz. The project was written to support iOS. It will run in compatibility mode (designed for iPad) on a Mac. I just built the completed materials and ran it on the iOS simulator with no issues in the latest Xcode (15.2)
In " Adding an App Shortcut", I had trouble to get Siri to respond to the shortcut until I revisited the “Bring your app’s core features to users with App Intents” WWDC24 session, and noticed that “phrases (…) must contain the app name”.
So I changed "Log a break" to "Log a break in \(.applicationName)" and this seems to have fixed the issue.
This overload of the result method is “Available when SwiftUI is imported with AppIntents” per its current definition file. Adding import SwiftUI fixes this error.
I have noticed then when say Siri Phrase, The shortcuts are working as expected only when the “Shortcut” App is installed in the device. When this App is deleted, Siri says “BreakLogger Hasnt added support for that”. Why is it like that. How it is depended on the App shortcuts and why not Siri can directly access the shortcuts we defined.