Commit cfcf6d44 authored by Alexey Shamrin's avatar Alexey Shamrin Committed by Ian Hickson

brew update is not needed any more: Homebrew/brew#679 (#11406)

parent 5d9db106
...@@ -23,12 +23,10 @@ final String noCocoaPodsConsequence = ''' ...@@ -23,12 +23,10 @@ final String noCocoaPodsConsequence = '''
For more info, see https://flutter.io/platform-plugins'''; For more info, see https://flutter.io/platform-plugins''';
final String cocoaPodsInstallInstructions = ''' final String cocoaPodsInstallInstructions = '''
brew update
brew install cocoapods brew install cocoapods
pod setup'''; pod setup''';
final String cocoaPodsUpgradeInstructions = ''' final String cocoaPodsUpgradeInstructions = '''
brew update
brew upgrade cocoapods brew upgrade cocoapods
pod setup'''; pod setup''';
......
...@@ -21,7 +21,6 @@ import 'mac.dart'; ...@@ -21,7 +21,6 @@ import 'mac.dart';
const String _kIdeviceinstallerInstructions = const String _kIdeviceinstallerInstructions =
'To work with iOS devices, please install ideviceinstaller. To install, run:\n' 'To work with iOS devices, please install ideviceinstaller. To install, run:\n'
'brew update\n'
'brew install ideviceinstaller.'; 'brew install ideviceinstaller.';
const Duration kPortForwardTimeout = const Duration(seconds: 10); const Duration kPortForwardTimeout = const Duration(seconds: 10);
...@@ -46,7 +45,6 @@ class IOSDevice extends Device { ...@@ -46,7 +45,6 @@ class IOSDevice extends Device {
_pusherPath = _checkForCommand( _pusherPath = _checkForCommand(
'ios-deploy', 'ios-deploy',
'To copy files to iOS devices, please install ios-deploy. To install, run:\n' 'To copy files to iOS devices, please install ios-deploy. To install, run:\n'
'brew update\n'
'brew install ios-deploy' 'brew install ios-deploy'
); );
} }
......
...@@ -129,7 +129,6 @@ class IOSWorkflow extends DoctorValidator implements Workflow { ...@@ -129,7 +129,6 @@ class IOSWorkflow extends DoctorValidator implements Workflow {
brewStatus = ValidationType.partial; brewStatus = ValidationType.partial;
messages.add(new ValidationMessage.error( messages.add(new ValidationMessage.error(
'libimobiledevice and ideviceinstaller are not installed or require updating. To update, run:\n' 'libimobiledevice and ideviceinstaller are not installed or require updating. To update, run:\n'
' brew update\n'
' brew uninstall --ignore-dependencies libimobiledevice\n' ' brew uninstall --ignore-dependencies libimobiledevice\n'
' brew install --HEAD libimobiledevice\n' ' brew install --HEAD libimobiledevice\n'
' brew install ideviceinstaller' ' brew install ideviceinstaller'
...@@ -139,7 +138,6 @@ class IOSWorkflow extends DoctorValidator implements Workflow { ...@@ -139,7 +138,6 @@ class IOSWorkflow extends DoctorValidator implements Workflow {
messages.add(new ValidationMessage.error( messages.add(new ValidationMessage.error(
'ideviceinstaller not available; this is used to discover connected iOS devices.\n' 'ideviceinstaller not available; this is used to discover connected iOS devices.\n'
'To install, run:\n' 'To install, run:\n'
' brew update\n'
' brew install --HEAD libimobiledevice\n' ' brew install --HEAD libimobiledevice\n'
' brew install ideviceinstaller' ' brew install ideviceinstaller'
)); ));
...@@ -154,13 +152,11 @@ class IOSWorkflow extends DoctorValidator implements Workflow { ...@@ -154,13 +152,11 @@ class IOSWorkflow extends DoctorValidator implements Workflow {
if (await hasIosDeploy) { if (await hasIosDeploy) {
messages.add(new ValidationMessage.error( messages.add(new ValidationMessage.error(
'ios-deploy out of date ($iosDeployMinimumVersion is required). To upgrade:\n' 'ios-deploy out of date ($iosDeployMinimumVersion is required). To upgrade:\n'
' brew update\n'
' brew upgrade ios-deploy' ' brew upgrade ios-deploy'
)); ));
} else { } else {
messages.add(new ValidationMessage.error( messages.add(new ValidationMessage.error(
'ios-deploy not installed. To install:\n' 'ios-deploy not installed. To install:\n'
' brew update\n'
' brew install ios-deploy' ' brew install ios-deploy'
)); ));
} }
......
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