idb-companion installation fails on Mac M1
Description
I'm working on a Mac Mini M1, already installed fb-idb, but when trying to brew install idb-companion it fails all the time with the following error:

Reproduction
brew install idb-companion / brew reinstall --build-from-source idb-companion
Solution
[OPTIONAL: Do you know what needs to be done to address this issue? Ideally, provide a pull request which fixes this issue.]
Additional Information
idbrevision: [FILL THIS OUT]
Same error on my Mac M1 neither.
I also faced the same error.
yup
Same here
same
same
Any way to fix this issue?
same here
I managed to install idb_companion on a M1 Mac by installing x86_64 version of homebrew first and then using that to install idb_companion.
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
arch -x86_64 /usr/local/bin/brew tap Facebook/fb
arch -x86_64 /usr/local/bin/brew install idb-companion
@pwszebor Thanks !
I managed to install idb_companion on a M1 Mac by installing x86_64 version of homebrew first and then using that to install idb_companion.
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" arch -x86_64 /usr/local/bin/brew tap Facebook/fb arch -x86_64 /usr/local/bin/brew install idb-companion
Is this really a good solution? Is it possible to have both the arm version of brew and x86 version at the same time and if it is what possible side effects could that have?
I managed to install idb_companion on a M1 Mac by installing x86_64 version of homebrew first and then using that to install idb_companion.
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" arch -x86_64 /usr/local/bin/brew tap Facebook/fb arch -x86_64 /usr/local/bin/brew install idb-companionIs this really a good solution? Is it possible to have both the arm version of brew and x86 version at the same time and if it is what possible side effects could that have?
Wondering the same thing, is it possible to run two versions of homebrew side by side without any issues?
No issues so far for me. The arm64 version is still the default, "which brew" points at it, it's installed in /opt/homebrew as opposed to Intel version which is in /usr/local/Homebrew.
I tried to install the x86_64 version of homebrew after I had the arm64 version already installed and the x86 version became the default one unlike what @pwszebor said. Guess I'll wait for an arm64 version of idb.
same here
got rosetta homebrew setup, it just fails at a brew-cask step now because apparently that package is gone ... script is outdated ... should be brew cask install ...
same here
Same Here
Same Here !
Any updates on this?