From cce70d706988ecda7cf93f294d157651b016b078 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Fri, 3 Feb 2017 12:54:07 -0800 Subject: [PATCH] Improved error message for iOS device on a non-Mac host (#7859) And fix some un-grammatical language below. --- packages/flutter_tools/lib/src/ios/simulators.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter_tools/lib/src/ios/simulators.dart b/packages/flutter_tools/lib/src/ios/simulators.dart index 208617bed31..fcad6a7c0e5 100644 --- a/packages/flutter_tools/lib/src/ios/simulators.dart +++ b/packages/flutter_tools/lib/src/ios/simulators.dart @@ -361,7 +361,7 @@ class IOSSimulator extends Device { @override bool isSupported() { if (!p.platform.isMacOS) { - _supportMessage = 'Not supported on a non Mac host'; + _supportMessage = 'iOS devices require a Mac host machine.'; return false; } @@ -391,7 +391,7 @@ class IOSSimulator extends Device { if (iPhoneMatch != null) { if (name == 'iPhone 5s') return true; - _supportMessage = 'Flutter does not support yet iPhone 5 or earlier. Select an iPhone 5s or above.'; + _supportMessage = 'Flutter does not yet support iPhone 5 or earlier. Select an iPhone 5s or above.'; return false; }