Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
cce70d70
Commit
cce70d70
authored
Feb 03, 2017
by
Chris Bracken
Committed by
GitHub
Feb 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved error message for iOS device on a non-Mac host (#7859)
And fix some un-grammatical language below.
parent
fb72f21c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
simulators.dart
packages/flutter_tools/lib/src/ios/simulators.dart
+2
-2
No files found.
packages/flutter_tools/lib/src/ios/simulators.dart
View file @
cce70d70
...
...
@@ -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 ye
t iPhone 5 or earlier. Select an iPhone 5s or above.'
;
_supportMessage
=
'Flutter does not
yet suppor
t iPhone 5 or earlier. Select an iPhone 5s or above.'
;
return
false
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment