-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Automatically add the Get Task Allow entitlement to Mac Catalyst apps when building for debugging #13080
Description
Description
Xcode automatically adds the Get Task Allow entitlement to apps that you build for debugging, while removing the entitlement before App Store submission. This is not the case for .NET MAUI Mac Catalyst apps. The requisite entitlements must be added manually, as described in #7706 - MAUI WebView doesn't allow to web session to be inspected in Safari developer tools (Mac Catalyst), to enable use of things like the Safari Web Inspector. It would be great to have the ability to enable or disable this via the csproj and/or Visual Studio project options. The expectation would be that this is enabled by default but could be optionally disabled like in Xcode projects.
This feature would depend on adding support for partial entitlements similar to how partial app manifests / Info.plists work as-per the comments in #7706.
Public API Changes
<ImplicitDebuggingToolEntitlement>enable</ImplicitDebuggingToolEntitlement>Intended Use-Case
- Simplify use of debugging tools like Safari Web Inspector
- Help avoid unintentional use of debug entitlements for App Store builds