From 2bbdacce357d539340b21ca4969f4ced4e6b478d Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Wed, 8 Mar 2017 15:31:32 -0800 Subject: [PATCH] Improve ideviceinstaller error message (#8662) Homebrew is an expected part of the iOS toolchain. Update the error message to assume that. --- packages/flutter_tools/lib/src/ios/devices.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter_tools/lib/src/ios/devices.dart b/packages/flutter_tools/lib/src/ios/devices.dart index eb30f7952c2..6cef31eb5e6 100644 --- a/packages/flutter_tools/lib/src/ios/devices.dart +++ b/packages/flutter_tools/lib/src/ios/devices.dart @@ -20,9 +20,9 @@ import '../globals.dart'; import '../protocol_discovery.dart'; import 'mac.dart'; -const String _ideviceinstallerInstructions = +const String _kIdeviceinstallerInstructions = 'To work with iOS devices, please install ideviceinstaller.\n' - 'If you use homebrew, you can install it with "\$ brew install ideviceinstaller".'; + 'To install, run \'brew install ideviceinstaller\'.'; const Duration kPortForwardTimeout = const Duration(seconds: 10); @@ -124,7 +124,7 @@ class IOSDevice extends Device { static String _checkForCommand( String command, [ - String macInstructions = _ideviceinstallerInstructions + String macInstructions = _kIdeviceinstallerInstructions ]) { try { command = runCheckedSync(['which', command]).trim();