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

fix: ShareExt.entitlements #9

Merged
merged 2 commits into from
Sep 11, 2024
Merged

fix: ShareExt.entitlements #9

merged 2 commits into from
Sep 11, 2024

Conversation

shajz
Copy link
Collaborator

@shajz shajz commented Sep 10, 2024

Currently, the Share Extension does not include the correct app groups in its configuration. This is resolved by adding a ShareExt.entitlements file at the root of the XCode project.

The file must include the group identifier (the existing addEntitlments() function does exactly that) and be registered in the xcode project file.

It's a new file so addEntitlments() is modified to allow file creation.

The file must also be registered in the signing part of the configuration, so we update it to reflect its actual use (automatic signing without a provisioning profile).

With this PR, the share extension and the app are signed and built correctly in XCode.


  • ShareExt.entitlements file is needed for the app group property to be kept on build
  • Fix automatic code signing

@shajz shajz added the bug Something isn't working label Sep 10, 2024
@shajz shajz force-pushed the fix.shareext.entitlements branch from 5dcf803 to d735ce5 Compare September 10, 2024 16:41
@shajz shajz merged commit 6a2c1f7 into master Sep 11, 2024
@shajz shajz deleted the fix.shareext.entitlements branch September 11, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants