“iproxy” cannot be opened because the developer cannot be verified

Viewed 8995

Today I connect the use cable to debug the flutter app in mac book pro with m1 chip, when I started the debugging process in Android Studio Android Studio Bumblebee | 2021.1.1 Patch 2, the system tell me error:

“iproxy” cannot be opened because the developer cannot be verified.

this is the full UI:

enter image description here

when I tried to resolved it in System Preferences > Security & Privacy set to allow idevice_id, and I did not found the setting. I am using mac book pro with M1 chip, the OS version is macOS Monterey 12.2.1 .

6 Answers

I finally found this could fix, first switch to the folder of flutter(change the path to your own flutter path):

cd FLUTTER SDK DIRECTORY/flutter/bin/cache/artifacts/usbmuxd

then execute this command:

sudo xattr -d com.apple.quarantine iproxy

for me it just helps by opening mac preferences -> security and privacy and you should see appeared checkbox with "Allow iproxy to smth..."

enter image description here

Open System Preferences -> Security & Privacy -> Click Allow Anyway (Circled in the screenshot) -> Click Cancel on the dialog “iproxy” cannot be opened because".. Click "Open" if another dialog appears. The dialog won't appear again.Security & Privacy Settings

You can simply go to the file in Finder and crtl + right click, than choose open, it will add an exception for this file and will execute next time without this warning. Normally located in this path:

../flutter/bin/cache/artifacts/usbmuxd/iproxy 

Exactly, what worked for me: Simply,

  1. Go to flutter/bin/cache/artifacts/usbmuxd

  2. Tap on "iproxy" using " ⌘ + touchpad ".

enter image description here

  1. Select "open" from the popup, it will open terminal and save settings on your mac for this file.

enter image description here

  1. Perfect! You are good to go now. Just close your ide and run agin the app.

The file is located inside flutter/bin/cache/artifacts/usbmuxd. Go there from Finder, Control-click on the file and choose Open from the opened context menu. Mac will notify that opening this file will add it into exception from security settings. Click open and it should solve the issue.

Related