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
b265a8f5
Commit
b265a8f5
authored
Dec 06, 2016
by
Dan Rubel
Committed by
GitHub
Dec 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup protocol discovery before launching simulator (#7172)
parent
adf998cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
simulators.dart
packages/flutter_tools/lib/src/ios/simulators.dart
+4
-1
No files found.
packages/flutter_tools/lib/src/ios/simulators.dart
View file @
b265a8f5
...
...
@@ -452,6 +452,10 @@ class IOSSimulator extends Device {
args
.
add
(
"--observatory-port=
$observatoryPort
"
);
}
ProtocolDiscovery
observatoryDiscovery
;
if
(
debuggingOptions
.
debuggingEnabled
)
observatoryDiscovery
=
new
ProtocolDiscovery
.
observatory
(
getLogReader
(
app:
app
));
// Launch the updated application in the simulator.
try
{
SimControl
.
instance
.
launch
(
id
,
app
.
id
,
args
);
...
...
@@ -468,7 +472,6 @@ class IOSSimulator extends Device {
// device has printed "Observatory is listening on..."
printTrace
(
'Waiting for observatory port to be available...'
);
ProtocolDiscovery
observatoryDiscovery
=
new
ProtocolDiscovery
.
observatory
(
getLogReader
(
app:
app
));
try
{
Uri
deviceUri
=
await
observatoryDiscovery
.
nextUri
();
return
new
LaunchResult
.
succeeded
(
observatoryUri:
deviceUri
);
...
...
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