什么是 libimobiledevice?

离线安装

$ git clone https://github.com/libimobiledevice/libimobiledevice.git
$ cd libimobiledevice
$ ./autogen.sh
$ make
$ sudo make install
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

在线安装

常用命令

ideviceinstaller -i xxx.ipa
ideviceinstaller -U [bundleID]
idevicesyslog
idevice_id --list
打印出来的是udid

# 参考

http://www.akblog.cn/2017/02/11/macOS-Sierralibimobiledevice/编译安装


↙↙↙阅读原文可查看相关链接,并与作者交流