Open swrobel opened 2 years ago
I used a symbolic link at /usr/local/bin/idb_companion
that points to /opt/homebrew/bin/idb_companion
to get around this.
ln -s /opt/homebrew/bin/idb /usr/local/bin
I am having this same issue on my M1 pro
This issue is still present in 0.176 on MacOS Ventura 13.0.1 (M1 Max). The symlink method works, but Flipper should really support M1 macs.
This bug is actually in idb. See: https://github.com/facebook/idb/issues/835
can devs do something
any update here? Still happened on chip M1 Pro 😭
As you installed idb_companion with brew
and idb
with pip
you need to link path of idb_companion
to path of idb
ln -s /opt/homebrew/bin/idb_companion /usr/local/bin/idb_companion
@stanislavkhatko exactly !
brew list idb-companion
-> get the installation folder (/opt/homebrew/Cellar/idb-companion/1.1.8/bin/idb_companion for example)
Then : sudo ln -s /opt/homebrew/Cellar/idb-companion/1.1.8/bin/idb_companion /usr/local/bin
I had to previously add a link to idb in the same folder : sudo ln -s /Users/<user_name>/.local/bin/idb /usr/local/bin
SamiChab
You Saved my day, Thank you.
thank you @SamiChab
This worked for me: sudo ln -s /opt/homebrew/bin/idb_companion /usr/local/bin
🐛 Bug Report
When
idb
is installed, regardless of the "Enable physical iOS devices" setting, Flipper prints the below warning over and over ad infinitum, and will not connect to simulator devices. Uninstallingidb
resolves the issue. If you look at the last line of the log, it seems that it's attempting to look in the Intel Mac path for idb_companion, rather than the correct path when using the native version of homebrew on M1 macs.Running the same command at a terminal works just fine:
With
idb
installed:After uninstalling
idb
:To Reproduce (on M1 Mac)
brew install idb-companion
pip3 install fb-idb
Environment
macOS 12.2.1 Flipper 0.137.0