diff --git a/packages/flutter_tools/lib/src/ios/simulators.dart b/packages/flutter_tools/lib/src/ios/simulators.dart index 02ec3ddda71..e5f37acf37d 100644 --- a/packages/flutter_tools/lib/src/ios/simulators.dart +++ b/packages/flutter_tools/lib/src/ios/simulators.dart @@ -474,7 +474,7 @@ class IOSSimulator extends Device { // Launch the updated application in the simulator. try { - SimControl.instance.launch(id, app.id, args); + await SimControl.instance.launch(id, app.id, args); } catch (error) { printError('$error'); return new LaunchResult.failed(); @@ -529,7 +529,7 @@ class IOSSimulator extends Device { throwToolExit('Could not find the built application bundle at ${bundle.path}.'); // Step 3: Install the updated bundle to the simulator. - SimControl.instance.install(id, fs.path.absolute(bundle.path)); + await SimControl.instance.install(id, fs.path.absolute(bundle.path)); } Future _sideloadUpdatedAssetsForInstalledApplicationBundle(ApplicationPackage app) =>