Commit cce70d70 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Improved error message for iOS device on a non-Mac host (#7859)

And fix some un-grammatical language below.
parent fb72f21c
...@@ -361,7 +361,7 @@ class IOSSimulator extends Device { ...@@ -361,7 +361,7 @@ class IOSSimulator extends Device {
@override @override
bool isSupported() { bool isSupported() {
if (!p.platform.isMacOS) { if (!p.platform.isMacOS) {
_supportMessage = 'Not supported on a non Mac host'; _supportMessage = 'iOS devices require a Mac host machine.';
return false; return false;
} }
...@@ -391,7 +391,7 @@ class IOSSimulator extends Device { ...@@ -391,7 +391,7 @@ class IOSSimulator extends Device {
if (iPhoneMatch != null) { if (iPhoneMatch != null) {
if (name == 'iPhone 5s') if (name == 'iPhone 5s')
return true; 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; return false;
} }
......
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