乐趣区

关于ios: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

退出移动版