GithubHelp home page GithubHelp logo

Comments (20)

HSerg avatar HSerg commented on April 20, 2024 31

idb-companion 1.1.6 (x86_64, not M1)

brew install protobuf
brew install grpc

mkdir /tmp/protoc
cd /tmp/protoc
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-osx-x86_64.zip
unzip protoc-3.17.3-osx-x86_64.zip
chmod +x /tmp/protoc/bin/protoc
sudo ln -sf /tmp/protoc/bin/protoc /usr/local/bin/protoc

brew tap facebook/fb
brew install idb-companion

cd ~
sudo rm /usr/local/bin/protoc
rm -Rf /tmp/protoc

brew uninstall grpc
brew uninstall protobuf

from homebrew-fb.

JaakkoKammonen24center avatar JaakkoKammonen24center commented on April 20, 2024 4

I have still problem even trying HSerg method

MacOS Monterey Version 12.1
MacBook Pro M1 16GB

The following build commands failed:
CompileC /tmp/idb-companion-20220128-62170-tni5hk/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/Objects-normal/arm64/idb.pb.o /tmp/idb-companion-20220128-62170-tni5hk/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'idbGRPC' from project 'idb_companion')
(1 failure)

from homebrew-fb.

stdavis avatar stdavis commented on April 20, 2024 3

Similar issue on macOS 11.6.2, mac pro (not M1) with Xcode 13.2.1:

The following build commands failed:
        CompileC /tmp/idb-companion-20220119-25273-19s94r3/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/Objects-normal/x86_64/idb.pb.o /tmp/idb-companion-20220119-25273-19s94r3/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'idbGRPC' from project 'idb_companion')
(1 failure)

from homebrew-fb.

chrismcleod avatar chrismcleod commented on April 20, 2024 1

HSerg method worked for me but I replaced /usr/local/bin/protoc with /opt/homebrew/bin/protoc

from homebrew-fb.

toioski avatar toioski commented on April 20, 2024

Same issue for me. I am running Big Sur 11.3.1 with Xcode 13.2.1.

from homebrew-fb.

TinaLiu916 avatar TinaLiu916 commented on April 20, 2024

Although the actual error mesages are not the same but they seem all because of some problems with idbGRPC, my build failed neither:

Last 15 lines from /Users/tianhui.liu/Library/Logs/Homebrew/idb-companion/02.idb_build.sh:
WriteAuxiliaryFile /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/Pods.build/Debug/gRPC-Core.build/Objects-normal/x86_64/gRPC-Core.LinkFileList (in target 'gRPC-Core' from project 'Pods')
cd /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/Pods
write-file /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/Pods.build/Debug/gRPC-Core.build/Objects-normal/x86_64/gRPC-Core.LinkFileList

Libtool /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Products/Debug/gRPC-Core/libgRPC-Core.a normal (in target 'gRPC-Core' from project 'Pods')
cd /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/Pods
export MACOSX_DEPLOYMENT_TARGET=10.10
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -D -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -L/tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Products/Debug/gRPC-Core -filelist /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/Pods.build/Debug/gRPC-Core.build/Objects-normal/x86_64/gRPC-Core.LinkFileList -dependency_info /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/Pods.build/Debug/gRPC-Core.build/Objects-normal/x86_64/gRPC-Core_libtool_dependency_info.dat -o /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Products/Debug/gRPC-Core/libgRPC-Core.a

** BUILD FAILED **

The following build commands failed:
RuleScriptExecution /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.h /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.h /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.cc /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/proto/idb.proto normal x86_64 (in target 'idbGRPC' from project 'idb_companion')
(1 failure)
I am running Big Sur 11.6.1 with Xcode 13.1.

from homebrew-fb.

bill20509 avatar bill20509 commented on April 20, 2024

Same issue on Big Sur 11.5.2, Intel Core i5 with Xcode 13.2.1.

from homebrew-fb.

fatih18 avatar fatih18 commented on April 20, 2024

I have same issue M1 mac pro

RuleScriptExecution /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.h /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.h /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.cc /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/proto/idb.proto normal arm64 (in target 'idbGRPC' from project 'idb_companion')
(1 failure)

from homebrew-fb.

sjransom avatar sjransom commented on April 20, 2024

Same issue - macOS 11.6.2, Xcode 13.2.1.

MBP 2019 Intel

from homebrew-fb.

stdavis avatar stdavis commented on April 20, 2024

Upgrading to Monterey (macOS 12.1) fixed the issue for me.

from homebrew-fb.

amy-r avatar amy-r commented on April 20, 2024

Same issue here, currently running Monterey (macOS 12.1)

from homebrew-fb.

tw2079 avatar tw2079 commented on April 20, 2024

HSerg, that worked! Thanks so much for posting the solution!

Everyone else, try the above. It worked for me!

from homebrew-fb.

vzenzo avatar vzenzo commented on April 20, 2024

Not working for me :(

Same thing happens with or without these solutions

from homebrew-fb.

qalangtao avatar qalangtao commented on April 20, 2024

same

from homebrew-fb.

activebiz avatar activebiz commented on April 20, 2024

@HSerg worked for me thanks!

from homebrew-fb.

thhmoc67 avatar thhmoc67 commented on April 20, 2024

`** BUILD FAILED **

The following build commands failed:
CompileC /tmp/idb-companion-20220216-1546-1wv3xgm/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/Objects-normal/arm64/idb.pb.o /tmp/idb-companion-20220216-1546-1wv3xgm/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'idbGRPC' from project 'idb_companion')
(1 failure)`

Any update on this issue?

from homebrew-fb.

vortechron avatar vortechron commented on April 20, 2024

m1 still failed

from homebrew-fb.

alexchandel avatar alexchandel commented on April 20, 2024
==> Downloading https://github.com/facebook/idb/archive/v1.1.6.tar.gz
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/21f51771171e5d76f8374e6a8f86f0f8e01ecd942a2b0e5d5dce39dad9b7d8c4--idb-1.1.6.tar.gz
==> Upgrading facebook/fb/idb-companion
  1.1.5 -> 1.1.6 

==> pod install
==> ./idb_build.sh idb_companion build /usr/local/Cellar/idb-companion/1.1.6
Last 15 lines from /Users/me/Library/Logs/Homebrew/idb-companion/02.idb_build.sh:

WriteAuxiliaryFile /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBSimulatorControl.build/FBSimulatorControl-own-target-headers.hmap (in target 'FBSimulatorControl' from project 'FBSimulatorControl')
    cd /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6
    write-file /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBSimulatorControl.build/FBSimulatorControl-own-target-headers.hmap

WriteAuxiliaryFile /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBDeviceControl.build/FBDeviceControl-own-target-headers.hmap (in target 'FBDeviceControl' from project 'FBSimulatorControl')
    cd /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6
    write-file /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBDeviceControl.build/FBDeviceControl-own-target-headers.hmap

** BUILD FAILED **


The following build commands failed:
	RuleScriptExecution /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.h /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.h /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.cc /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/proto/idb.proto normal x86_64 (in target 'idbGRPC' from project 'idb_companion')
(1 failure)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/facebook/homebrew-fb/issues

These open issues may also help:
./idb_build.sh idb_companion build /** BUILD FAILED ** https://github.com/facebook/homebrew-fb/issues/73
brew install idb-companion failed on x86_64 https://github.com/facebook/homebrew-fb/issues/75

from homebrew-fb.

iAmHarmon avatar iAmHarmon commented on April 20, 2024

@HSerg worked for me as well but using the modification @chrismcleod used.

On macOS Monterey with an M1 processor

from homebrew-fb.

vxm5091 avatar vxm5091 commented on April 20, 2024

Still having this issue even with @HSerg and @chrismcleod solutions. I'm on a non-M1 2019 MBP, BigSur, XCode 13.2.1.

If anyone came across any other solutions that helped, that would be very much appreciated!

from homebrew-fb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.