Post

Replies

Boosts

Views

Activity

Reply to Debugging updateAppShortcutParameters not adding shortcuts to Shortcuts App
Greetings, I did get this working, thanks Ed. I didnt fully understand that I needed 2 AppIntentsPackage, one in the framework and one in the main project. This project used it and reading their code was helpful: https://github.com/ztzhang/locked_capture_example Here is the one in the framework: https://github.com/ztzhang/locked_capture_example/blob/main/MyIntentFramework/AppIntentsPackage.swift And here is the one in the main project, including that one in the framework: https://github.com/ztzhang/locked_capture_example/blob/main/AVCam/AppIntents.swift And then a bonus one because they had an extension where they also had an intent: https://github.com/ztzhang/locked_capture_example/blob/main/ControlButtonExtension/AppIntents.swift As for my other issue with "This current action is not allowed", I still havent been able to reproduce it in a smaller project unfortunately, there is seem to work, but its also a lot simpler. So I'm still looking for a solution for that.
Sep ’25
Reply to Debugging updateAppShortcutParameters not adding shortcuts to Shortcuts App
Ok, some information, but I'm still not sure what is going wrong. In the console (but not in xcode which is annoying), I see: Failed to refresh AppShortcut parameters with error: Error Domain=Foundation._GenericObjCError Code=0 "(null)" So there must be something wrong with my shortcut, but this isnt a useful error. Maybe someone has an idea?
Aug ’25