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

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

Open
Jerome2606 opened this issue Nov 19, 2024 · 0 comments

Comments

@Jerome2606
Copy link

Jerome2606 commented Nov 19, 2024

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:
dotnet/maui#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants