How to include custom entitlements when publishing an iOS app?

Jay 40 Reputation points
2024-08-31T23:12:33.7633333+00:00

I"m following this document and it appears that the section of Custom Entitlements is gone. I've seen people have reported this issue but no possible solution or workarounds to be shared.

https://learn.microsoft.com/en-us/dotnet/maui/ios/entitlements?view=net-maui-8.0#consume-entitlements

Visual Studio 17.11.2

.Net 8

Thanks

J

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,386 Reputation points Microsoft Vendor
    2024-09-02T06:32:33.5433333+00:00

    Hello,

    Yes, there is no such option on property window. When you build the app, the VS will find the Entitlements.plist in Platforms\iOS folder.

    About how to add a new XML file named Entitlements.plist to the Platforms\iOS folder, please see the doc you mentioned.

    When you publish the app, please determine which capability is added, and you should create provisioning profile manually. Refer to iOS capabilities - .NET MAUI | Microsoft Learn

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.