mirror of
https://github.com/flutter/flutter.git
synced 2026-01-21 13:16:40 +08:00
This patch migrates iOS device listing from using Xcode instruments to using the libimobiledevice tools idevice_id and ideviceinfo. ideviceinfo was previously incompatible with iOS 11 physical devices; this has now been fixed. In 58fe8237d2ec012ea51a673bc228f6545af8bb3c flutter_tools migrated from libimobiledevice-based device listing on iOS to using Xcode instruments to work around the lack of support for iOS 11. Using instruments entails several downsides, including a significantly higher performance hit, and leaking hung DTServiceHub processes in certain cases when a simulator is running, necessitating workarounds in which we watched for, and cleaned up leaked DTServiceHub processes. This patch returns reverts the move to instruments now that it's no longer necessary. This reverts commit 58fe8237d2ec012ea51a673bc228f6545af8bb3c.