Install prebuilt iOS applications before running them (#7000)

This commit is contained in:
John McCutchan
2016-11-23 07:33:33 -08:00
committed by GitHub
parent bb3815694c
commit b8403c7c91
2 changed files with 6 additions and 0 deletions

View File

@@ -198,6 +198,9 @@ class IOSDevice extends Device {
printError('');
return new LaunchResult.failed();
}
} else {
if (!installApp(app))
return new LaunchResult.failed();
}
// Step 2: Check that the application exists at the specified path.

View File

@@ -426,6 +426,9 @@ class IOSSimulator extends Device {
} on ToolExit {
return new LaunchResult.failed();
}
} else {
if (!installApp(app))
return new LaunchResult.failed();
}
ProtocolDiscovery observatoryDiscovery;