Skip to content

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

Closed

Description

@mikeparker104

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

Activity

  1. added
    partner/cat 😻this is an issue that impacts one of our partners or a customer our advisory team is engaged with
    on Feb 2, 2023
  2. ghost added
    partnerIssue or Request from a partner team
    on Feb 2, 2023
  3. added this to the Backlog milestone on Feb 2, 2023
  4. added
    area-toolingXAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging
    on Feb 2, 2023
  5. ghost locked as resolved and limited conversation to collaborators on May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-toolingXAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debuggingfixed-in-8.0.0-preview.4.8333Look for this fix in 8.0.0-preview.4.8333!partnerIssue or Request from a partner teampartner/cat 😻this is an issue that impacts one of our partners or a customer our advisory team is engaged withproposal/open

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions