Skip to content

AppIntents not populating autoShortcuts metadata since 4.5.0 with Xcode 26+ #2901

@john-flanagan

Description

@john-flanagan

I believe the PR to add support multiple modules for AppIntents broke app shortcuts in our build.

Playing around with a plain Xcode project it seems like if the AppShortcutsProvider isn't defined in source_files argument of the main library target the autoShortcuts metadata isn't populated.

It seems like we need some distinction between the "primary" library that defines providers like that and dependent libraries that can contain AppIntent implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions