Automatically add the Get Task Allow entitlement to Mac Catalyst apps when building for debugging #13080
Labels
area-tooling
XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging
Blazor ❤️ MAUI
Issues in MAUI functionality that affect Blazor, but are not bugs in Blazor itself
fixed-in-8.0.0-preview.4.8333
Look for this fix in 8.0.0-preview.4.8333!
partner/cat 😻
this is an issue that impacts one of our partners or a customer our advisory team is engaged with
partner
Issue or Request from a partner team
proposal/open
Milestone
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
Intended Use-Case
The text was updated successfully, but these errors were encountered: