ChiChou / bagbak

Yet another frida based iOS dumpdecrypted. Also decrypts app extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

最新的版本安装不成功

xiaoyawl opened this issue · comments

系统是MacOS的13.5,换了两台设备、多个Python版本安装都是这样的错误

v20.13.1
[lookback@DT_LookBack_MacBookPro ~/Desktop]$ npm -v
10.5.2
[lookback@DT_LookBack_MacBookPro ~/Desktop]$ frida version
     ____
    / _  |   Frida 16.2.4 - A world-class dynamic instrumentation toolkit
   | (_| |
    > _  |   Commands:
   /_/ |_|       help      -> Displays the help system
   . . . .       object?   -> Display information about 'object'
   . . . .       exit/quit -> Exit
   . . . .
   . . . .   More info at https://frida.re/docs/home/
   . . . .
   . . . .   Connected to Local System (id=local)
Failed to spawn: unable to find process with name 'version'             
[lookback@DT_LookBack_MacBookPro ~/Desktop]$ npm install -g bagbak
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/bagbak/node_modules/frida
npm ERR! command failed
npm ERR! command sh -c node scripts/install.js
npm ERR! Downloading toolchain 20240514...
npm ERR! Extracting toolchain...
npm ERR! Downloading SDK 20240514 for macos-x86_64...
npm ERR! Extracting SDK...
npm ERR! The Meson build system
npm ERR! Version: 1.4.99
npm ERR! Source dir: /usr/local/lib/node_modules/bagbak/node_modules/frida
npm ERR! Build dir: /usr/local/lib/node_modules/bagbak/node_modules/frida/build
npm ERR! Build type: native build
npm ERR! Program python3 found: YES (/Users/lookback/.pyenv/versions/3.12.3/bin/python3)
npm ERR! Project name: frida-node
npm ERR! Project version: 16.2.4
npm ERR! C++ compiler for the host machine: /Library/Developer/CommandLineTools/usr/bin/clang++ -target x86_64-apple-macos10.13 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk (clang 14.0.3 "Apple clang version 14.0.3 (clang-1403.0.22.14.1)")
npm ERR! C++ linker for the host machine: /Library/Developer/CommandLineTools/usr/bin/clang++ -target x86_64-apple-macos10.13 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk ld64 857.1
npm ERR! Host machine cpu family: x86_64
npm ERR! Host machine cpu: x86_64
npm ERR! Program node found: YES (/usr/local/opt/node@20/bin/node)
npm ERR! Program npm found: YES (/usr/local/opt/node@20/bin/npm)
npm ERR! Program python3 found: YES (/Users/lookback/.pyenv/versions/3.12.3/bin/python3)
npm ERR! Message: Fetching ABI bits
npm ERR! 
npm ERR! meson.build:52:11: ERROR: Command `/Users/lookback/.pyenv/versions/3.12.3/bin/python3 /usr/local/lib/node_modules/bagbak/node_modules/frida/scripts/fetch-abi-bits.py node '' mac x64 /usr/local/opt/node@20/bin/node /usr/local/opt/node@20/bin/npm /usr/local/lib/node_modules/bagbak/node_modules/frida/build` failed with status 1.
npm ERR! 
npm ERR! A full log can be found at /usr/local/lib/node_modules/bagbak/node_modules/frida/build/meson-logs/meson-log.txt
npm ERR! prebuild-install warn install No prebuilt binaries found (target=20.13.1 runtime=node arch=x64 libc= platform=darwin)
npm ERR! Command '['/Users/lookback/.pyenv/versions/3.12.3/bin/python3', '/usr/local/lib/node_modules/bagbak/node_modules/frida/releng/meson/meson.py', 'setup', '-Dprefix=/usr/local', '-Ddefault_library=static', '-Doptimization=s', '-Db_ndebug=true', '-Dstrip=true', '--native-file=/usr/local/lib/node_modules/bagbak/node_modules/frida/build/frida-macos-x86_64.txt', PosixPath('/usr/local/lib/node_modules/bagbak/node_modules/frida/build')]' returned non-zero exit status 1.
npm ERR! make: *** [all] Error 1

npm ERR! A complete log of this run can be found in: /Users/lookback/.npm/_logs/2024-05-21T04_51_03_579Z-debug-0.log
[lookback@DT_LookBack_MacBookPro ~/Desktop]$