From d009172fd2ccbeb3482dc381436a968c028ef422 Mon Sep 17 00:00:00 2001 From: Todd Volkert Date: Wed, 15 Jul 2020 11:53:26 -0700 Subject: [PATCH] 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. --- packages/flutter_tools/lib/src/ios/mac.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/ios/mac.dart b/packages/flutter_tools/lib/src/ios/mac.dart index abaf1d8e89..6def23d54c 100644 --- a/packages/flutter_tools/lib/src/ios/mac.dart +++ b/packages/flutter_tools/lib/src/ios/mac.dart @@ -320,7 +320,7 @@ Future 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);