Skip to content

Commit

Permalink
Uninstall Apple apps before installing (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
premun authored May 21, 2021
1 parent 74d69c8 commit 9897087
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ protected async Task<ExitCode> OrchestrateRun(
return ExitCode.DEVICE_NOT_FOUND;
}

// Uninstall the app first to get a clean state
await UninstallApp(target.Platform, appBundleInfo.BundleIdentifier, device, cancellationToken);

exitCode = await InstallApp(appBundleInfo, device, target, cancellationToken);

if (exitCode != ExitCode.SUCCESS)
Expand Down

0 comments on commit 9897087

Please sign in to comment.