-
Notifications
You must be signed in to change notification settings - Fork 392
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
Secure storage crashes with: "A required entitlement isn't present" on MacOS #804
Comments
I also tried leaving |
I have the exact same issue, and I've also tried to follow the documentation to a point without success. This is only an issue in release mode where the app simply crashes when trying to open it. |
I'm seeing this too and so far haven't been able to find a fix. It does seem to be an exception you can catch and log though so the app can keep running. |
you can check the error log when notarization your App. Or just use Follow this documentation for notarization. |
It looks like the |
Ok actually What seems to have worked is this flag: |
Oh i see, when i use to build with if we are resigning the whole .app contents, then yes |
However after making this change I had some issues with getting the Sparkle update to work correctly so I'm still trying to figure out what I need to do to make that work. |
secure storage crashes with the message on MacOS:
It works fine in debug mode so it's likely an issue with the release entitlements. I followed the guide and added the
keychain-access-groups
in the macos/Runner/Release.entitlements and DebugProfile.entitlements:I'm then initialising secureStorage with:
When I then call the following I get the PlatformException.
What could be the issue?
Thanks!
Environment:
MacOS 15.0.1
Flutter doctor:
The text was updated successfully, but these errors were encountered: