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

Automatically add the Get Task Allow entitlement to Mac Catalyst apps when building for debugging #13080

Closed
mikeparker104 opened this issue Feb 2, 2023 · 1 comment · Fixed by #14196
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

Comments

@mikeparker104
Copy link
Contributor

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
@mikeparker104 mikeparker104 added proposal/open partner/cat 😻 this is an issue that impacts one of our partners or a customer our advisory team is engaged with labels Feb 2, 2023
@ghost ghost added the partner Issue or Request from a partner team label Feb 2, 2023
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Feb 2, 2023
@ghost
Copy link

ghost commented Feb 2, 2023

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@jsuarezruiz jsuarezruiz added the area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging label Feb 2, 2023
@Eilon Eilon added the Blazor ❤️ MAUI Issues in MAUI functionality that affect Blazor, but are not bugs in Blazor itself label Feb 2, 2023
@samhouts samhouts modified the milestones: Backlog, .NET 8 Planning May 1, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 31, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.4.8333 Look for this fix in 8.0.0-preview.4.8333! label Jun 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants