Kalhara Tennakoon
Kalhara Tennakoon

Reputation: 1482

Flutter cannot be installed on Mac

When I tried to install flutter on Mac(Big Sur), It gave the below error.

"dart" cannot be opened because the developer cannot be verified.

I used the Flutter SDK 2.0.5 (the latest one) via this link

P.S: actually Mac downloads the flutter SDK & capable of unzipping it. But when I run flutter --version after setting the path for a flutter on the terminal it gave the above error.

Upvotes: 0

Views: 306

Answers (2)

Kalhara Tennakoon
Kalhara Tennakoon

Reputation: 1482

Now it's working. All I had to do is give permission for the Terminal app in the Developer Tools section in Security & Privacy in System Preferences

Upvotes: 0

Dr Younss AIT MOU
Dr Younss AIT MOU

Reputation: 1117

open your MacOS Settings -> Security & Privacy

near the bottom, you should say a message asking you if you want to allow dart. tick the option and you should be good to go

Upvotes: 1

Related Questions