解决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'

[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

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
猜你喜欢
  • 2021-11-27
  • 2021-12-21
  • 2021-08-24
  • 2022-12-23
  • 2021-06-30
  • 2021-10-05
相关资源
相似解决方案