Commit b8403c7c authored by John McCutchan's avatar John McCutchan Committed by GitHub

Install prebuilt iOS applications before running them (#7000)

parent bb381569
...@@ -198,6 +198,9 @@ class IOSDevice extends Device { ...@@ -198,6 +198,9 @@ class IOSDevice extends Device {
printError(''); printError('');
return new LaunchResult.failed(); return new LaunchResult.failed();
} }
} else {
if (!installApp(app))
return new LaunchResult.failed();
} }
// Step 2: Check that the application exists at the specified path. // Step 2: Check that the application exists at the specified path.
......
...@@ -426,6 +426,9 @@ class IOSSimulator extends Device { ...@@ -426,6 +426,9 @@ class IOSSimulator extends Device {
} on ToolExit { } on ToolExit {
return new LaunchResult.failed(); return new LaunchResult.failed();
} }
} else {
if (!installApp(app))
return new LaunchResult.failed();
} }
ProtocolDiscovery observatoryDiscovery; ProtocolDiscovery observatoryDiscovery;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment