Skip to content

Commit cbb7b32

Browse files
Working on iOS GitHub CI
1 parent eb013c0 commit cbb7b32

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/flutter_test_runners/lib/src/deep_links/deep_links_ios.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ void testDeepLinkIosAppLaunch(
4444
});
4545

4646
// Ensure the app isn't running yet.
47+
_log.info("Checking if the app is running...");
4748
expect(await Xcrun.isAppRunning(appBundleId), isFalse);
4849
_log.info("We've verified the app isn't running");
4950

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Xcrun {
9898

9999
/// Kills the app with the given [appBundleId] ID, e.g., `com.acme.myapp`.
100100
static Future<void> killApp(String appBundleId) async {
101-
await Process.run("sh", ["-c", "xcrun", "simctl", "terminate", "booted", appBundleId]);
101+
await Process.run("xcrun", ["simctl", "terminate", "booted", appBundleId]);
102102
}
103103

104104
/// Clears all logs in the iOS log stream.

0 commit comments

Comments
 (0)