ubuntu libimobiledevice ios 14 focus 20.04

ubuntu libimobiledevice ios 14 focus 20.04

当前行为

当我尝试在 ubuntu 20.04 上备份 ios 14 时,出现以下错误

idevicebackup2 backup /home/jb/iphone_backup_tmp/
Backup directory is "/home/jb/iphone_backup_tmp/"
Started "com.apple.mobilebackup2" service on port 52815.
Could not perform backup protocol version exchange, error code -1

我有另一台 ios 13 设备,备份工作正常。

尝试从官方网站安装最新版本时https://libimobiledevice.org/#get-started 我收到以下错误

sudo apt-get install libimobiledevice usbmuxd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libimobiledevice

预期行为

能够安装最新版本的 libimobiledevice 并通过 libimobiledevice 备份我的 ios 14 设备

答案1

我最终还是选择了这个问题讨论并调整其中一个脚本在其中提供

sudo apt install build-essential checkinstall git autoconf automake libtool-bin libssl-dev pkg-config cython libusb-1.0-0-dev
git clone https://github.com/libimobiledevice/libplist
git clone https://github.com/libimobiledevice/libusbmuxd
git clone https://github.com/libimobiledevice/libimobiledevice
git clone https://github.com/libimobiledevice/libimobiledevice-glue
git clone https://github.com/libimobiledevice/usbmuxd
cd libplist
./autogen.sh
make && sudo make install
sudo ldconfig
cd ..
cd libimobiledevice-glue
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh --enable-debug
make && sudo make install
cd ..
cd libusbmuxd
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
make && sudo make install
sudo ldconfig
cd ..
cd libimobiledevice
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh --enable-debug
make && sudo make install
cd ..
cd usbmuxd
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --runstatedir=/run
make && sudo make install
sudo killall usbmuxd

rm -fr libplist/ libusbmuxd/ libimobiledevice/ usbmuxd/ libimobiledevice-glue/

相关内容