-
Notifications
You must be signed in to change notification settings - Fork 558
Improve the entitlements debug/release experience #18344
Copy link
Copy link
Closed
Description
Looking at recent changes to our MAUI templates:
This is a bit verbose and would be preferable to not include in the templates by default.
How can we improve the implicit behaviour here?
Entitlements.Debug.plist
- com.apple.security.get-task-allow
I'm not sure exactly why this one was added... perhaps for debugging the webview, or maybe for secure storage API's in debug mode
Entitlements.Release.plist
- com.apple.security.app-sandbox
- com.apple.security.network.client
These are required for publishing catalyst apps to the store.
Proposal
- Seems like a good time to introduce an item group of something like
PartialEntitlementsPlistthat allows multiple entitlements files to be added to the build to be merged together. - Is there a good reason not to implicitly merge the release plist items into a release maccatalyst build? It could always be conditioned on a flag that someone could override if they needed to.
- Same goes for debug mode - can we implicitly merge the debug plist item, add a condition to not include them if it is explicitly set.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureA feature to be implementedA feature to be implemented