Reputation: 2740
Some users reported that my app cannot open in macOS Catalina, with the error message:
MyApp can’t be opened because its integrity cannot be verified.
Is this because of notarization? The app seems to be working on other macOS versions.
Upvotes: 3
Views: 23814
Reputation: 3457
I had this problem when both alpha
and beta
versions were installed on the device and what helped was to remove all of them and install them from scratch.
Upvotes: 0
Reputation: 3459
This is because of recent changes in macOS Catalina.
sudo spctl --add "Path_to_flutter/bin/cache/artifacts/libimobiledevice/idevice_id"
You might need to reboot the system in order to apply the changes.
You can run a GateKeeper script to fix the issue.
I have published an article with more information how to fix this.
Upvotes: 0
Reputation: 998
Yes indeed the error is because of notarization. I also got this error a few weeks ago. You need to notarize your application.
I stumbled upon this awesome article that explains how to notarize the app. Steps would be too long to describe here.
I also have an active GitHub repo here that has implemented notarization, feel free to check it out. Hope this helps.
Upvotes: 2