mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
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.
This commit is contained in:
parent
479e533b01
commit
9c502cba95
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue