commit | b8403c7c919eddfca425546f0f7fedd9a55506ce | [log] [tgz] |
---|---|---|
author | John McCutchan <john@johnmccutchan.com> | Wed Nov 23 07:33:33 2016 -0800 |
committer | GitHub <noreply@github.com> | Wed Nov 23 07:33:33 2016 -0800 |
tree | b038eddb3a79266e998c24b07dd186ebb19ccce3 | |
parent | bb3815694ce7ac8175b88281302055f463a51df5 [diff] |
Install prebuilt iOS applications before running them (#7000)
diff --git a/packages/flutter_tools/lib/src/ios/devices.dart b/packages/flutter_tools/lib/src/ios/devices.dart index 396582f..9970159 100644 --- a/packages/flutter_tools/lib/src/ios/devices.dart +++ b/packages/flutter_tools/lib/src/ios/devices.dart
@@ -198,6 +198,9 @@ printError(''); return new LaunchResult.failed(); } + } else { + if (!installApp(app)) + return new LaunchResult.failed(); } // Step 2: Check that the application exists at the specified path.
diff --git a/packages/flutter_tools/lib/src/ios/simulators.dart b/packages/flutter_tools/lib/src/ios/simulators.dart index 2cb71bd..6d405c8 100644 --- a/packages/flutter_tools/lib/src/ios/simulators.dart +++ b/packages/flutter_tools/lib/src/ios/simulators.dart
@@ -426,6 +426,9 @@ } on ToolExit { return new LaunchResult.failed(); } + } else { + if (!installApp(app)) + return new LaunchResult.failed(); } ProtocolDiscovery observatoryDiscovery;