phoneOpenUrl function
Opens url on the phone udid the way a tap on a link would; null on success, else why not.
Implementation
Future<String?> phoneOpenUrl(String udid, String url) async {
final r = await runBounded(
'xcrun',
['devicectl', 'device', 'process', 'openURL', '--device', udid, url, '-q'],
timeout: const Duration(seconds: 30),
phase: 'devicectl openURL',
);
return r.exitCode == 0 ? null : '${r.stderr}'.trim().split('\n').last;
}