ios 在 Cydia 上安装 frida_16.0.8 时出错

 mac安装zstd

# 编译安装  
$ git clone https://github.com/facebook/zstd.git  
$ cd zstd; make; sudo make install 

mac安装xz

http://tukaani.org/xz/xz-5.2.3.tar.gz

# 依次输入以下命令  
tar -zxf xz-5.2.3.tar.gz
cd xz-5.2.3
./configure
make
sudo make install (可能需要输入PC用户密码)

xz -V

新的 16.0.8 存档是使用 zst 压缩的,而 dpkg 在 iOS 上不支持该存档。 

# dpkg -i frida_16.0.8_iphoneos-arm.deb 
dpkg-deb: error: archive 'frida_16.0.8_iphoneos-arm.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive frida_16.0.8_iphoneos-arm.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 frida_16.0.8_iphoneos-arm.deb

要使用 xz 压缩通过 zstd 重新打包存档,请执行以下操作:

mkdir frida_16.0.8_iphoneos-arm
cd frida_16.0.8_iphoneos-arm
ar -x ../frida_16.0.8_iphoneos-arm.deb
zstd -d *.zst
xz *.tar
ar r frida_16.0.8_iphoneos-arm-repacked.deb debian-binary control.tar.xz data.tar.xz

SCP 将 frida_16.0.8_iphoneos-arm-repacked.deb 存档到您的设备,然后运行 dpkg -i:

# dpkg -i frida_16.0.8_iphoneos-arm-repacked.deb
(Reading database ... 2530 files and directories currently installed.)
Preparing to unpack frida_16.0.8_iphoneos-arm-repacked.deb ...
Unpacking re.frida.server (16.0.8) over (16.0.7) ...
/Library/LaunchDaemons/re.frida.server.plist: Operation now in progress
Setting up re.frida.server (16.0.8) ...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值