I've seen many articles which demonstrate : "How to add Siri extension to my app" and "Create shared framework to share code between apps & extension"
My questions and my need is exactly as mentioned into the title : Is it possible to add Siri custom intent to a framework (and not an app)? If yes, how? So I can build an App using my framework containing all the intent possible to use.
For the moment, I've succeeded to configure and use a swiftui "Add to siri Button". The right intent is presented to me, well, I can tap on "Add to Siri". But then, the error:
"The operation couldn't be completed. (WFActionError-Domain error1)"
appears when I try to use my shortcut inside the shortcut App
EDIT: The last idea I got is, the problem might occur because the app doesn't own the intent when I try to create my shortcut. I mean, something dealing with the bundle ID, don't you think ?