From cabd58dbb25d422777169eff2f97f0cabd7239d6 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Wed, 8 Mar 2017 21:24:00 -0800 Subject: [PATCH] Correct instructions for libimobiledevice install (#8675) As of the latest Xcode versions, the latest published libimobiledevice is out-of-date and build from HEAD is required. This fixes two bugs: 1. Update initial install instructions to add --HEAD flag. 2. Update uninstall, reinstall instructions to include --ignore-dependencies flag, since other brew formulae depend on libimobiledevice. --- packages/flutter_tools/lib/src/ios/ios_workflow.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/flutter_tools/lib/src/ios/ios_workflow.dart b/packages/flutter_tools/lib/src/ios/ios_workflow.dart index cdf84e56e3..b2fbb25c4b 100644 --- a/packages/flutter_tools/lib/src/ios/ios_workflow.dart +++ b/packages/flutter_tools/lib/src/ios/ios_workflow.dart @@ -124,7 +124,9 @@ class IOSWorkflow extends DoctorValidator implements Workflow { brewStatus = ValidationType.partial; messages.add(new ValidationMessage.error( 'ideviceinstaller not available; this is used to discover connected iOS devices.\n' - 'Install via \'brew install ideviceinstaller\'.' + 'To install, run:\n' + 'brew install --HEAD libimobiledevice\n' + 'brew install ideviceinstaller' )); } @@ -152,7 +154,7 @@ class IOSWorkflow extends DoctorValidator implements Workflow { brewStatus = ValidationType.partial; messages.add(new ValidationMessage.error( 'libimobiledevice is incompatible with the installed Xcode version. To update, run:\n' - 'brew uninstall libimobiledevice\n' + 'brew uninstall --ignore-dependencies libimobiledevice\n' 'brew install --HEAD libimobiledevice' )); }