libimobiledevice
1.1、libimobiledevice简介
是什么 ?:a cross-platform software protocol library and tools to communicate with iOS devices natively.
开发语言:C
官方主页:http://www.libimobiledevice.org
源码仓库:https://github.com/libimobiledevice/libimobiledevice
1.2、通过包管理器安装libimobiledevice
操作系统包管理器安装命令
macOSHomeBrewbrew install libimobiledevice
GNU/LinuxLinuxBrewbrew install libimobiledevice
aptsudo apt-get install -y libimobiledevice-utils
CentOSyumsudo yum install -y libimobiledevice-utils
dnfsudo dnf install -y libimobiledevice-utils
openSUSEzyppersudo zypper install -y libimobiledevice-tools libimobiledevice-devel

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm libimobiledevice
Gentoo LinuxPortagesudo emerge libimobiledevice
1.3、通过编译源码安装libimobiledevice

step1、安装依赖

下载时git
编译时POSIX shGNU CoreUtilsautotools ( autoconfautomake )、GNU makeGCC ( gcc )   | LLVM / Clanglibtoolpkg-configOpenSSLlibusbmuxd
运行时
  • glibc ( libc.sold-linux-x86-64.so )
  • OpenSSL ( libssl.solibcrypto.so )
  • libusbmuxd ( libusbmuxd.so )

step2、使用git下载libimobiledevice源码

git clone https://github.com/libimobiledevice/libimobiledevice.git

step3、进入libimobiledevice目录,并查看其内容

step4、配置、编译、安装

./autogen.sh && make && sudo make install
1.4、libimobiledevice中包含的命令
1.5、libimobiledevice中包含的头文件
1.6、libimobiledevice中包含的库文件
  • libimobiledevice.{a | so | dylib}