Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification Extension #20

Open
devfsmalik opened this issue Feb 11, 2021 · 1 comment
Open

Notification Extension #20

devfsmalik opened this issue Feb 11, 2021 · 1 comment

Comments

@devfsmalik
Copy link

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.

@sheldonth
Copy link
Owner

sheldonth commented Feb 26, 2021

This framework needs updated for quite a large number of new 'Extensions' which link in other code that's vended by Apple. I will try to make a project out of confirming how to enable these very soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants