Unverified Commit 4597b51c authored by godofredoc's avatar godofredoc Committed by GitHub

Fix problem causing tasks to timeout. (#76028)

This is because the command was actually collecting logs continuously
from the device. Additionally idevicesyslog does not have a reboot
option.

Bug: https://github.com/flutter/flutter/issues/76027
parent ce318b7b
......@@ -793,7 +793,7 @@ class IosDevice extends Device {
@override
Future<void> reboot() {
return Process.run('idevicesyslog', <String>['reboot', '-u', deviceId]);
return Process.run('idevicediagnostics', <String>['restart', '-u', deviceId]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment