WDA报错

WDA要用作Test老是报错,
报错内容为:
The test runner encountered an error (Failed to establish communication with the test runner. (Underlying error: Unable to connect to test manager on d4917fbadf4b71db3c9b3a835f100099b0432442. (Underlying error: Could not connect to the device.)))

un0Cover越狱的手机,testManager默认会被关闭,要手动启动手机端的testManager进程,每次越狱之后,ssh 登陆手机执行

/bin/launchctl load /Developer/Library/LaunchDaemons/*

其实启动的是com.apple.testmanagerd进程,启动之后,执行以下命令看看testManager进程有没有启动:
launchctl list |grep test
WDA报错_第1张图片

你可能感兴趣的:(ios自动化测试)