Bruce Lin
Bruce Lin

Reputation: 2740

App 'can’t be opened because its integrity cannot be verified' on macOS Catalina

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

Answers (3)

Bohdan Savych
Bohdan Savych

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

Amir.n3t
Amir.n3t

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

Nishkal Kashyap
Nishkal Kashyap

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

Related Questions