dotnet / dotnet/docs-maui

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

Open
#2,639 0 comments 0 reactions 0 assignees View on GitHub
doc-enhancement dotnet-maui/subsvc dotnet-mobile/svc Pri2 vscode
Dominant language
No language data
Stars
282
Forks
265
Avg merge
2d 2h
Merged PRs (30d)
19

Description

### 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 :
`keychain-access-groups $(AppIdentifierPrefix)com.microsoft.adalcache `

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](https://github.com/dotnet/docs-maui/issues?q=is%3Aissue+is%3Aopen+5323b586-9636-8502-49a7-3b3cee4f54c0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.