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.