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

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 .

1

10 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 
6

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

3

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

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

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 
1

Just go to

Settings -> Privacy & Security - then, scroll down, then click Allow anyway button.

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.

If installed via brew, Flutter (and iproxy) change folders when new version is installed (eg. /opt/homebrew/Caskroom/flutter/3.3.7/flutter/bin/cache/artifacts/usbmuxd/iproxy).

I find this one liner useful:

 find /opt/homebrew/Caskroom/flutter -iname "iproxy" -exec xattr -rd com.apple.quarantine '{}' \; 

Step 1 : Run Debug Mode

Step 2 : Go to Settings -> Privacy & Security Wait for a proxy alert

Step 3 : Click on Allow Anyway button for a successful debug

I had this issue as well, I believe it was because I had configured my device for a wireless connection and had plugged it in. I am unsure why this caused an issue.

Solved by unplugging my iPhone from my Mac, and running in debug mode again.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like