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.
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.
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.