[platform_view]use cmd to uninstall the app (#111139)

This commit is contained in:
hellohuanlin
2022-09-07 15:45:26 -07:00
committed by GitHub
parent c10164c4b2
commit 8e2333dcc7
2 changed files with 11 additions and 39 deletions

View File

@@ -15,6 +15,17 @@ Future<void> main() async {
final String projectDirectory = '${flutterDirectory.path}/dev/integration_tests/ios_platform_view_tests';
await inDirectory(projectDirectory, () async {
// To address "Failed to terminate" failure.
section('Uninstall previously installed app');
await flutter(
'install',
options: <String>[
'--uninstall-only',
],
);
section('Build clean');
await flutter('clean');