Skip to content

Commit 5ae1f9c

Browse files
Working on iOS GitHub CI
1 parent c13f450 commit 5ae1f9c

File tree

1 file changed

+10
-7
lines changed
  • packages/flutter_test_runners/lib/src/platform_comms/ios

1 file changed

+10
-7
lines changed

packages/flutter_test_runners/lib/src/platform_comms/ios/xcrun.dart

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,19 +130,22 @@ class Xcrun {
130130
print("Sending xcrun simctl terminate command...");
131131
final process = await Process.start(
132132
"sh",
133-
["-c", "xcrun simctl terminate booted $appBundleId"],
133+
["-c", "xcrun", "simctl", "terminate", "booted", appBundleId],
134134
);
135135
print("terminate command process was started");
136136

137137
process.stdin.close();
138138

139-
process.stdout.transform(utf8.decoder).listen((log) {
140-
print("terminate command log: $log");
141-
});
139+
stdout.addStream(process.stdout);
140+
stderr.addStream(process.stderr);
142141

143-
process.stderr.transform(utf8.decoder).listen((error) {
144-
print("terminate command error: $error");
145-
});
142+
// process.stdout.transform(utf8.decoder).listen((log) {
143+
// print("terminate command log: $log");
144+
// });
145+
//
146+
// process.stderr.transform(utf8.decoder).listen((error) {
147+
// print("terminate command error: $error");
148+
// });
146149

147150
print("Waiting for exit code...");
148151
final exitCode = await process.exitCode;

0 commit comments

Comments
 (0)