解决MAC Appium设备连不上IOS的的问题'idevice_id' program is not installed

解决MAC Appium设备连不上IOS的的问题

 

错误的:

[XCUITest] The 'idevice_id' program is not installed. If you are running a real device test it is necessary. Install with 'brew install libimobiledevice --HEAD'

[XCUITest] Available devices: 

[XCUITest] Error: Unknown device or simulator UDID: '20a548dc87a87ecddf7ab3975a4b5f3395ac132'

 

 

正确的:

[XCUITest] Available devices: 20a548dc87a87ecddf7ab3975a4b5f3395ac132

[XCUITest] Creating iDevice object with udid '20a548dc87a87ecddf7ab3975a4b5f3395ac132'

扫描二维码关注公众号,回复: 3670312 查看本文章

[XCUITest] Determining device to run tests on: udid: '20a548dc87a87ecddf7ab3975a4b5f3395ac132', real device: true

 

 

解决办法:

https://www.jianshu.com/p/1ec36db7d551

brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice

$ idevice_id -l

20a548dc87a87ecddf7ab3975a4b5f3395ac132

 

 

猜你喜欢

转载自www.cnblogs.com/v5captain/p/9828225.html
今日推荐