Skip to content

Notification Extension  #20

Description

@devfsmalik

I have a cmake file which generates xcode project file and all the configurations. Now I want to add a new target for Notification extension.
I am able to create new target using this
add_library(NotificationExtension MODULE ${appex-sources})
set_target_properties(NotificationExension PROPERTIES BUNDLE YES XCODE_PRODUCT_TYPE com.apple.product-type.app-extension)
and all other target properties for target.

I am facing issue that Notification extension is not embedded in Main Project target. I tried to copy manually using
add_custom_command and copied NotificationExtension.appex to PlugIns folder of app file.
But still it is not working.
When I manually create Notification extension target it works fine.
Can you guide how we can embedd .appex file into main target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions