Skip to content

Conversation

@cbracken
Copy link
Member

Migrates DeviceDiscovery.devices and all device-specific lookup to be
asynchronous.

This change only migrates iOS physical device lookup off runAsync().
Other device types will follow in subsequent PRs.

@cbracken cbracken requested a review from tvolkert June 17, 2017 00:04
Migrates DeviceDiscovery.devices and all device-specific lookup to be
asynchronous.
@cbracken cbracken force-pushed the asyncify-the-devices branch from 6ea9b79 to ce14804 Compare June 17, 2017 00:25
@cbracken cbracken merged commit 972be9c into flutter:master Jun 17, 2017
@cbracken cbracken deleted the asyncify-the-devices branch June 17, 2017 00:47
cbracken added a commit to cbracken/flutter that referenced this pull request Jun 17, 2017
This reverts commit 972be9c.

Revert required in order to revert
37bb5f1, which is triggering failures
on the chrome buildbots.
cbracken added a commit that referenced this pull request Jun 17, 2017
* Revert "Make device discovery asynchronous (#10803)"
This reverts commit 972be9c.

* Revert "Use Xcode instruments to list devices (#10801)"
This reverts commit 37bb5f1.

This is to resolve a failure that looks related to a bad install of Xcode 8.0
on our build bots and should be reinstated when the infra issue is diagnosed
and resolved.

Instruments worked well when this was originally landed, and on the
following commit, but started failing two commits after this originally
landed. Manual invocation of instruments on the build host currently
results in:

```
dyld: Library not loaded: @rpath/InstrumentsAnalysisCore.framework/Versions/A/InstrumentsAnalysisCore
  Referenced from: /Applications/Xcode8.0.app/Contents/Developer/usr/bin/instruments
  Reason: image not found
Abort trap: 6
```

It appears the /Applications/Xcode8.0.app/Contents/Applications
directory (which contains Instruments) is missing on the host.
cbracken added a commit to cbracken/flutter that referenced this pull request Jun 19, 2017
This reverts commit b2909a2.

This resubmits the following patches:

1. Use Xcode instruments to list devices (flutter#10801)
Eliminates the dependency on idevice_id from libimobiledevice. Instead,
uses Xcode built-in functionality.

2. Make device discovery asynchronous (flutter#10803)
Migrates DeviceDiscovery.devices and all device-specific lookup to be
asynchronous.
cbracken added a commit that referenced this pull request Jun 19, 2017
This reverts commit b2909a2.

This resubmits the following patches:

1. Use Xcode instruments to list devices (#10801)
Eliminates the dependency on idevice_id from libimobiledevice. Instead,
uses Xcode built-in functionality.

2. Make device discovery asynchronous (#10803)
Migrates DeviceDiscovery.devices and all device-specific lookup to be
asynchronous.
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jul 1, 2017
Migrates DeviceDiscovery.devices and all device-specific lookup to be
asynchronous.
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jul 1, 2017
* Revert "Make device discovery asynchronous (flutter#10803)"
This reverts commit 972be9c.

* Revert "Use Xcode instruments to list devices (flutter#10801)"
This reverts commit 37bb5f1.

This is to resolve a failure that looks related to a bad install of Xcode 8.0
on our build bots and should be reinstated when the infra issue is diagnosed
and resolved.

Instruments worked well when this was originally landed, and on the
following commit, but started failing two commits after this originally
landed. Manual invocation of instruments on the build host currently
results in:

```
dyld: Library not loaded: @rpath/InstrumentsAnalysisCore.framework/Versions/A/InstrumentsAnalysisCore
  Referenced from: /Applications/Xcode8.0.app/Contents/Developer/usr/bin/instruments
  Reason: image not found
Abort trap: 6
```

It appears the /Applications/Xcode8.0.app/Contents/Applications
directory (which contains Instruments) is missing on the host.
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jul 1, 2017
This reverts commit b2909a2.

This resubmits the following patches:

1. Use Xcode instruments to list devices (flutter#10801)
Eliminates the dependency on idevice_id from libimobiledevice. Instead,
uses Xcode built-in functionality.

2. Make device discovery asynchronous (flutter#10803)
Migrates DeviceDiscovery.devices and all device-specific lookup to be
asynchronous.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants