Post

Replies

Boosts

Views

Activity

Comment on AppIntents don't show up in Shortcuts app when in SPM package
Digging in, Xcode 26 now runs "Extract app intents metadata" for all Swift Packages. Diffing the extract.actionsdata from when AppIntents are in the app/widget target directly vs in a Swift Package, there's no difference between them other than fullyQualifiedTypeName, etc which correctly points to the AppIntent within the SwiftPackage (and both the App & Widget bundle contains the same extra.actionsdata file). So not sure why it can't find the metadata at runtime....
Sep ’25
Comment on AppIntents don't show up in Shortcuts app when in SPM package
Digging in, it looks like "Extract app intents metadata" build step now runs for all SPM targets in Xcode 26. It correctly generates Metadata.appintents for both the app / widget bundle. Diffing the extract.actionsdata files when the AppIntents are directly in the app/widget target vs within a package--everything looks identical other than the fullyQualifiedTypeName etc, which correctly points to the AppIntent within the Swift Package. Not sure why it can't find the metadata at runtime...
Sep ’25