Commit 9c502cba authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Clean up ideviceinstaller doctor messages (#10408)

Eliminates nearly-duplicate install instructions for libimobiledevice,
ideviceinstaller.

Since ideviceinstaller depends on libimobiledevice, it's almost certain
that if libimobiledevice isn't installed, or needs updating, so does
ideviceinstaller.
parent 479e533b
......@@ -152,14 +152,13 @@ class IOSWorkflow extends DoctorValidator implements Workflow {
if (!await hasWorkingLibimobiledevice) {
brewStatus = ValidationType.partial;
messages.add(new ValidationMessage.error(
'libimobiledevice is not installed or requires updating. To update, run:\n'
'libimobiledevice and ideviceinstaller are not installed or require updating. To update, run:\n'
' brew update\n'
' brew uninstall --ignore-dependencies libimobiledevice\n'
' brew install --HEAD libimobiledevice'
' brew install --HEAD libimobiledevice\n'
' brew install ideviceinstaller'
));
}
if (!await hasIDeviceInstaller) {
} else if (!await hasIDeviceInstaller) {
brewStatus = ValidationType.partial;
messages.add(new ValidationMessage.error(
'ideviceinstaller not available; this is used to discover connected iOS devices.\n'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment