From 0dd89fa994fe5bef477a8a3a529e2cdf6e18de66 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Wed, 15 Feb 2017 10:13:38 -0800 Subject: [PATCH] Improve doctor message when xcode-select invocation required (#8179) If a developer has installed the Xcode command-line tools, then later installs Xcode, they may need to run xcode-select to update the path of the command-line tools to that of the new installation. --- packages/flutter_tools/lib/src/ios/ios_workflow.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/flutter_tools/lib/src/ios/ios_workflow.dart b/packages/flutter_tools/lib/src/ios/ios_workflow.dart index 43c9e9f074..e3d2263d59 100644 --- a/packages/flutter_tools/lib/src/ios/ios_workflow.dart +++ b/packages/flutter_tools/lib/src/ios/ios_workflow.dart @@ -96,6 +96,7 @@ class IOSWorkflow extends DoctorValidator implements Workflow { messages.add(new ValidationMessage.error( 'Xcode installation is incomplete; a full installation is necessary for iOS development.\n' 'Download at https://developer.apple.com/xcode/download/.' + 'Once installed, run \'sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer\'.' )); } }