1.真機
①安裝ideviceinstaller
Please uninstall?libimobiledevice and?ideviceinstall, then disconnected all iOS device.
Then install?libimobiledevice?with?--HEAD, and?ideviceinstaller, and removed all file of the directory?/var/db/lockdown/.
Finally, connect your iOS device again, and?Trust?the Mac on your iPhone.
brew uninstall ideviceinstaller -g
brew uninstall libimobiledevice -g
brew install --HEAD libimobiledevice -g
brew install ideviceinstaller -g
sudo rm -rf /var/db/lockdown/*
②將真機連接在mac上郎汪,命令行輸入idevice_id -l,如果出現(xiàn)該設(shè)備的udid赤拒,則說明配置成功能夠正常識別了健民。
相關(guān)指令:
ideviceinstaller -i [ipa文件] -o [設(shè)備udid] 安裝ipa文件到設(shè)備
ideviceinstaller -l -o [設(shè)備udid] 顯示當(dāng)前設(shè)備中所有已安裝的應(yīng)用
ideviceinstaller -U [appId] -o [設(shè)備udid] 卸載應(yīng)用