-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Make device discovery asynchronous #10803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tvolkert
approved these changes
Jun 17, 2017
Migrates DeviceDiscovery.devices and all device-specific lookup to be asynchronous.
6ea9b79 to
ce14804
Compare
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.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.