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...
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: