facebook / idb

idb is a flexible command line interface for automating iOS simulators and devices
https://fbidb.io
MIT License
4.51k stars 433 forks source link

Installation of Idb-Companion failed #636

Open starrye opened 3 years ago

starrye commented 3 years ago
==> ./idb_build.sh idb_companion build /usr/local/Cellar/idb-companion/1.0.14
Last 15 lines from /Users/liuwz/Library/Logs/Homebrew/idb-companion/01.idb_build.sh:
  "_ares_strerror", referenced from:
      grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked(grpc_ares_request*, char const*, char const*, char const*, grpc_pollset_set*, bool, int, grpc_combiner*) in libgrpc.a(grpc_ares_wrapper.o)
      l003 in libgrpc.a(grpc_ares_wrapper.o)
      l004 in libgrpc.a(grpc_ares_wrapper.o)
      l005 in libgrpc.a(grpc_ares_wrapper.o)
      grpc_ares_ev_driver_create_locked(grpc_ares_ev_driver**, grpc_pollset_set*, int, grpc_combiner*, grpc_ares_request*) in libgrpc.a(grpc_ares_ev_driver.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

The following build commands failed:
    Ld /tmp/idb-companion-20201030-81041-2knzbq/idb-1.0.14/build/Build/Products/Debug/idb_companion normal x86_64
(1 failure)

I failed when I tried brew Install idb-companion

misaku commented 3 years ago

i had the same problem in my case was because mi macos!

any idea to fix?

** BUILD FAILED **

The following build commands failed:
    CompileC /tmp/idb-companion-20201123-40601-tmw90h/idb-1.0.14/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBBatchLogSearch.o /tmp/idb-companion-20201123-40601-tmw90h/idb-1.0.14/FBControlCore/Diagnostics/FBBatchLogSearch.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Do not report this issue to Homebrew/brew or Homebrew/core!

Error: You are using macOS 11.1.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
pre-release version.