Dolphin
Dolphin

Reputation: 38983

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

Upvotes: 147

Views: 46336

Answers (10)

KalebC4
KalebC4

Reputation: 63

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.

Upvotes: 2

ZEREN ZOU
ZEREN ZOU

Reputation: 89

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

Upvotes: 9

Muktadir Sony
Muktadir Sony

Reputation: 630

Just go to

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

Upvotes: 16

seven
seven

Reputation: 2607

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 '{}' \;

Upvotes: 4

pavel
pavel

Reputation: 2186

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

Upvotes: 143

Sharon A
Sharon A

Reputation: 2645

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

Upvotes: 32

Salman Ali
Salman Ali

Reputation: 239

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.

Upvotes: 20

Elmar
Elmar

Reputation: 4445

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.

Upvotes: 3

Cyber
Cyber

Reputation: 2724

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 

Upvotes: 11

Dolphin
Dolphin

Reputation: 38983

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

Upvotes: 196

Related Questions