Reputation: 38983
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:
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
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
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
Reputation: 630
Just go to
Settings -> Privacy & Security - then, scroll down, then click
Allow anyway
button.
Upvotes: 16
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
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..."
Upvotes: 143
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.
Upvotes: 32
Reputation: 239
Exactly, what worked for me: Simply,
Go to flutter/bin/cache/artifacts/usbmuxd
Tap on "iproxy" using " ⌘ + touchpad ".
Upvotes: 20
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
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
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