idb: idb-companion failed to install on MacBook M1
We use GitHub Issues for bugs.
— Please use this template, and delete everything above this line before submitting your issue —
Description
Failed to install idb-companion on MacBook Air M1.
Following error occurred during installation
==> pod install
==> ./idb_build.sh idb_companion build /opt/homebrew/Cellar/idb-companion/1.1.5
Last 15 lines from /Users/ravikumar/Library/Logs/Homebrew/idb-companion/02.idb_build.sh:
WriteAuxiliaryFile /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/Objects-normal/arm64/idbGRPC.LinkFileList (in target 'idbGRPC' from project 'idb_companion')
cd /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5
write-file /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/Objects-normal/arm64/idbGRPC.LinkFileList
Libtool /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Products/Debug/BoringSSL-GRPC/libBoringSSL-GRPC.a normal (in target 'BoringSSL-GRPC' from project 'Pods')
cd /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/Pods
export MACOSX_DEPLOYMENT_TARGET\=10.10
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only arm64 -D -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -L/tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Products/Debug/BoringSSL-GRPC -filelist /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Intermediates.noindex/Pods.build/Debug/BoringSSL-GRPC.build/Objects-normal/arm64/BoringSSL-GRPC.LinkFileList -dependency_info /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Intermediates.noindex/Pods.build/Debug/BoringSSL-GRPC.build/Objects-normal/arm64/BoringSSL-GRPC_libtool_dependency_info.dat -o /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Products/Debug/BoringSSL-GRPC/libBoringSSL-GRPC.a
** BUILD FAILED **
The following build commands failed:
RuleScriptExecution /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.h /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.h /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.cc /tmp/idb-companion-20211111-41348-1o1nhf9/idb-1.1.5/proto/idb.proto normal arm64 (in target 'idbGRPC' from project 'idb_companion')
(1 failure)
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
idb-companion.rb should have branch set to main https://github.com/facebook/homebrew-fb/issues/67
Reproduction
Just followed steps here https://fbidb.io/docs/installation but that doesn’t seem to be working for M1
Additional Information
Homebrew 3.3.3 Homebrew/homebrew-core (git revision c4267c371e7; last commit 2021-11-11)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 25
- Comments: 16 (1 by maintainers)
Download the latest brew bottle from here:
https://github.com/facebook/idb/releases
Failing for me, too, but with different error:
With
brew install --HEAD idb-companionon my M1 Max Macbook Pro I’m now seeing:Build on M1 has been fixed on idb-companion v1.1.7. A
arm64_montereybottle was also published.I can confirm that both idb 1.1.7 and flipper 137.0 work perfectly on M1… finally! @jbardini thank you so much