查看ios设备udid:
idevice_id -l
查看ios应用的bundleId:
# 安装ideviceinstaller
brew install ideviceinstaller
# 查看应用的bundleId
ideviceinstaller -l
如果出现报错:
Could not connect to lockdownd. Exiting.
尝试以下命令重新编译库
brew uninstall -f libimobiledevice ideviceinstaller usbmuxd
如果失败执行:
brew uninstall --ignore-dependencies libimobiledevice ideviceinstaller usbmuxd
brew install -v --HEAD --fetch --build-from-source usbmuxd libimobiledevice ideviceinstaller