AppIntentsSampleApp Failed to refresh AppShortcut parameters

I've been struggling and Siri support to an application. I have developed it kept getting this error when I run it on MacOS:

Failed to refresh AppShortcut parameters with error: Error Domain=Foundation._GenericObjCError Code=0 "(null)"

So I found AppIntentsSampleApp and downloaded and buil it and I get a similar, but larger, error:

Failed to refresh AppShortcut parameters with error: Error Domain=RBSServiceErrorDomain Code=1 "(originator doesn't have entitlement com.apple.private.xpc.launchd.app-server AND originator doesn't have entitlement com.apple.assertiond.system-shell AND originator doesn't have entitlement com.apple.runningboard.launchprocess)" UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.private.xpc.launchd.app-server AND originator doesn't have entitlement com.apple.assertiond.system-shell AND j

And it goes on and on.

What am I missing? I'm using Xcode 16. I don't see an option to add a Siri framework. I have tried adding both the intent and tap, intent frameworks, which does not seem to make a difference.

I downloaded this sample code project to look into this. After opening the project, I go to the singing tab to change the Team, and then I build and run for macOS. On macOS 15.5 beta 3, I'm not getting any errors, and the sample successfully runs. Can you try the same with that project, doing only those exact steps? And if you continue to get errors, can you also list your exact Xcode version and macOS version?

I don't see an option to add a Siri framework

You're looking for the App Intents framework. Adding app intents enables your app to interact with a wide range of system services (they are detailed in the sample code readme above), one of which is Siri.

— Ed Ford,  DTS Engineer

I did just try that. Note of that since I posted this, there has been an Xcode upgrade. I don't see the errors I see above when I run the application now, but I don't see the shortcuts.

I download the application and set the team. I run it. I can see the intense in the shortcuts application, but I don't see any shortcuts and I can't get any response from Siri. If I try Spotlight, you can see the application but it does not indicate any shortcuts.

My MacOS version is 15.4.1 My Xcode version is 16.3

AppIntentsSampleApp Failed to refresh AppShortcut parameters
 
 
Q