From 58898636ccc15aa4c7bf662fe2422353935ae808 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Tue, 21 Feb 2017 13:02:50 -0800 Subject: [PATCH] Only attempt to deploy to USB-connected iOS devices (#8309) Do not attempt to deploy/debug wifi connected iOS devices. ios-deploy is able to install over wifi, but we've had several bugs reporting failure to run/debug once installation has completed when the device is also connected via USB. Note that we don't currently support deploy/debug over wifi since libimobiledevice (which is also required) requires a USB connection. --- packages/flutter_tools/lib/src/ios/devices.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/flutter_tools/lib/src/ios/devices.dart b/packages/flutter_tools/lib/src/ios/devices.dart index cbe7a2aca0..c42da97b7d 100644 --- a/packages/flutter_tools/lib/src/ios/devices.dart +++ b/packages/flutter_tools/lib/src/ios/devices.dart @@ -244,6 +244,7 @@ class IOSDevice extends Device { id, '--bundle', bundle.path, + '--no-wifi', '--justlaunch', ];