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.
This commit is contained in:
parent
d6527451a0
commit
0dd89fa994
@ -96,6 +96,7 @@ class IOSWorkflow extends DoctorValidator implements Workflow {
|
|||||||
messages.add(new ValidationMessage.error(
|
messages.add(new ValidationMessage.error(
|
||||||
'Xcode installation is incomplete; a full installation is necessary for iOS development.\n'
|
'Xcode installation is incomplete; a full installation is necessary for iOS development.\n'
|
||||||
'Download at https://developer.apple.com/xcode/download/.'
|
'Download at https://developer.apple.com/xcode/download/.'
|
||||||
|
'Once installed, run \'sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer\'.'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user