From cfcf6d442819fbed5243241c5bf23a21cc405896 Mon Sep 17 00:00:00 2001 From: Alexey Shamrin Date: Tue, 1 Aug 2017 22:21:56 +0300 Subject: [PATCH] brew update is not needed any more: Homebrew/brew#679 (#11406) --- packages/flutter_tools/lib/src/ios/cocoapods.dart | 2 -- packages/flutter_tools/lib/src/ios/devices.dart | 2 -- packages/flutter_tools/lib/src/ios/ios_workflow.dart | 4 ---- 3 files changed, 8 deletions(-) diff --git a/packages/flutter_tools/lib/src/ios/cocoapods.dart b/packages/flutter_tools/lib/src/ios/cocoapods.dart index ae35ae291b..e2ed2a3df9 100644 --- a/packages/flutter_tools/lib/src/ios/cocoapods.dart +++ b/packages/flutter_tools/lib/src/ios/cocoapods.dart @@ -23,12 +23,10 @@ final String noCocoaPodsConsequence = ''' For more info, see https://flutter.io/platform-plugins'''; final String cocoaPodsInstallInstructions = ''' - brew update brew install cocoapods pod setup'''; final String cocoaPodsUpgradeInstructions = ''' - brew update brew upgrade cocoapods pod setup'''; diff --git a/packages/flutter_tools/lib/src/ios/devices.dart b/packages/flutter_tools/lib/src/ios/devices.dart index a3fc03cfb5..1f8d0930a4 100644 --- a/packages/flutter_tools/lib/src/ios/devices.dart +++ b/packages/flutter_tools/lib/src/ios/devices.dart @@ -21,7 +21,6 @@ import 'mac.dart'; const String _kIdeviceinstallerInstructions = 'To work with iOS devices, please install ideviceinstaller. To install, run:\n' - 'brew update\n' 'brew install ideviceinstaller.'; const Duration kPortForwardTimeout = const Duration(seconds: 10); @@ -46,7 +45,6 @@ class IOSDevice extends Device { _pusherPath = _checkForCommand( 'ios-deploy', 'To copy files to iOS devices, please install ios-deploy. To install, run:\n' - 'brew update\n' 'brew install ios-deploy' ); } diff --git a/packages/flutter_tools/lib/src/ios/ios_workflow.dart b/packages/flutter_tools/lib/src/ios/ios_workflow.dart index a833ef588a..4da3dbe8aa 100644 --- a/packages/flutter_tools/lib/src/ios/ios_workflow.dart +++ b/packages/flutter_tools/lib/src/ios/ios_workflow.dart @@ -129,7 +129,6 @@ class IOSWorkflow extends DoctorValidator implements Workflow { brewStatus = ValidationType.partial; messages.add(new ValidationMessage.error( 'libimobiledevice and ideviceinstaller are not installed or require updating. To update, run:\n' - ' brew update\n' ' brew uninstall --ignore-dependencies libimobiledevice\n' ' brew install --HEAD libimobiledevice\n' ' brew install ideviceinstaller' @@ -139,7 +138,6 @@ class IOSWorkflow extends DoctorValidator implements Workflow { messages.add(new ValidationMessage.error( 'ideviceinstaller not available; this is used to discover connected iOS devices.\n' 'To install, run:\n' - ' brew update\n' ' brew install --HEAD libimobiledevice\n' ' brew install ideviceinstaller' )); @@ -154,13 +152,11 @@ class IOSWorkflow extends DoctorValidator implements Workflow { if (await hasIosDeploy) { messages.add(new ValidationMessage.error( 'ios-deploy out of date ($iosDeployMinimumVersion is required). To upgrade:\n' - ' brew update\n' ' brew upgrade ios-deploy' )); } else { messages.add(new ValidationMessage.error( 'ios-deploy not installed. To install:\n' - ' brew update\n' ' brew install ios-deploy' )); }