Unverified Commit d009172f authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Change xcodebuild to be a "slow operation" (#61518)

The Xcode build almost always takes longer than 2 seconds. With the
operation classified as a "fast operation", the Flutter tool will
warn the user that the build is "taking an unexpectedly long time".
This updates the operation to be a "slow operation", which will only
warn the user if it takes 2+ minutes.
parent 5e1635b1
......@@ -320,7 +320,7 @@ Future<XcodeBuildResult> buildXcodeProject({
buildCommands.addAll(environmentVariablesAsXcodeBuildSettings(globals.platform));
final Stopwatch sw = Stopwatch()..start();
initialBuildStatus = globals.logger.startProgress('Running Xcode build...', timeout: timeoutConfiguration.fastOperation);
initialBuildStatus = globals.logger.startProgress('Running Xcode build...', timeout: timeoutConfiguration.slowOperation);
final RunResult buildResult = await _runBuildWithRetries(buildCommands, app);
......
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