Skip to content

Commit ec80d78

Browse files
Working on iOS GitHub CI
1 parent 08f60e6 commit ec80d78

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/flutter_test_runners/example_deep_links/test_driver/deep_link_ios_test.dart

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'dart:convert';
12
import 'dart:io';
23

34
import 'package:flutter_driver/flutter_driver.dart';
@@ -18,7 +19,7 @@ void main() {
1819
print(Process.runSync('env', []).stdout);
1920

2021
print("Running the command...");
21-
await Process.run(
22+
final process = await Process.start(
2223
"xcrun",
2324
[
2425
"simctl",
@@ -28,7 +29,11 @@ void main() {
2829
],
2930
environment: {'DEVELOPER_DIR': '/Applications/Xcode.app/Contents/Developer'},
3031
);
31-
print("The xcrun call returned without issue");
32+
process.stdout.transform(utf8.decoder).listen((data) {});
33+
process.stderr.transform(utf8.decoder).listen((data) {});
34+
print("The process started...");
35+
final exitCode = await process.exitCode;
36+
print("The xcrun call returned with exit code: $exitCode");
3237
});
3338

3439
// testDeepLinkIosAppLaunch(

0 commit comments

Comments
 (0)