Skip to content

Commit 7a7099a

Browse files
Working on iOS GitHub CI
1 parent 6200545 commit 7a7099a

File tree

1 file changed

+37
-6
lines changed

1 file changed

+37
-6
lines changed

packages/flutter_test_runners/example_deep_links/test_driver/deep_link_ios_test.dart

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,37 @@ void main() {
4848
// });
4949

5050
test("Send terminate command to simulator", () async {
51+
print("Running device list command:");
52+
final result1 = await Process.run(
53+
"sh",
54+
[
55+
"-c",
56+
"xcrun",
57+
"simctl",
58+
"list",
59+
],
60+
);
61+
print("result1: ${result1.exitCode}");
62+
print("");
63+
64+
print("Running get_app_container command:");
65+
final result2 = await Process.run(
66+
"sh",
67+
[
68+
"-c",
69+
"xcrun",
70+
"simctl",
71+
"get_app_container",
72+
"booted",
73+
"com.flutterbountyhunters.deeplinks.example",
74+
],
75+
);
76+
print("result2: ${result2.exitCode}");
77+
print("");
78+
79+
//--------
5180
print("Sending xcrun simctl terminate command...");
81+
5282
// CI Timeout
5383
// final process = await Process.start(
5484
// "xcrun",
@@ -67,12 +97,13 @@ void main() {
6797
// "sh",
6898
// ["-c", "xcrun simctl terminate booted '$appBundleId'"],
6999
// );
70-
71-
final result = await Process.run(
72-
"sh",
73-
["-c", "xcrun simctl terminate booted '$appBundleId'"],
74-
);
75-
print("Exit code: ${result.exitCode}");
100+
//
101+
// CI Timeout
102+
// final result = await Process.run(
103+
// "sh",
104+
// ["-c", "xcrun simctl terminate booted '$appBundleId'"],
105+
// );
106+
// print("Exit code: ${result.exitCode}");
76107

77108
// CI Timeout
78109
// final script = '''

0 commit comments

Comments
 (0)