docs-maui icon indicating copy to clipboard operation
docs-maui copied to clipboard

Common issue while migrating to Maui and no clear documentation for mac users

Open Jerome2606 opened this issue 11 months ago • 0 comments

Type of issue

Missing information

Description

A common issue: https://stackoverflow.com/questions/78441547/maui-securestorage-error-adding-record-missingentitlement

Error adding record: MissingEntitlement

The solution seems to simply add : <key>keychain-access-groups</key> <array> <string>$(AppIdentifierPrefix)com.microsoft.adalcache</string> </array>

into a file Entitlements.plist

But adding this will result in a new common error: https://github.com/dotnet/maui/issues/19148

The solution seems to simply "match the entitlements declared in the provisioning profile of your app with the entitlements that are declared in the Entitlements.plist"

but nothing indicate how we can do such a thing. This is very frustating as Microsoft decided for Mac users to use VS Code and leaved behing the VS for mac. There is no easy way to have an automatic provisioning profiles and Entitlements.plist relations ?

Is there a way to generate a Entitlements.plist from a downloaded provisioning profiles ? Is there a common Entitlements.plist ?

Is there any project Maui using this famous keychain ?

Page URL

https://learn.microsoft.com/en-us/dotnet/maui/ios/capabilities?view=net-maui-9.0#add-capabilities-with-visual-studio

Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/ios/capabilities.md

Document Version Independent Id

5323b586-9636-8502-49a7-3b3cee4f54c0

Article author

@davidbritch

Metadata

  • ID: 5323b586-9636-8502-49a7-3b3cee4f54c0
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

Related Issues

Jerome2606 avatar Nov 19 '24 12:11 Jerome2606