Commit cabd58db authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

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.
parent bf6b6e18
...@@ -124,7 +124,9 @@ class IOSWorkflow extends DoctorValidator implements Workflow { ...@@ -124,7 +124,9 @@ class IOSWorkflow extends DoctorValidator implements Workflow {
brewStatus = ValidationType.partial; brewStatus = ValidationType.partial;
messages.add(new ValidationMessage.error( messages.add(new ValidationMessage.error(
'ideviceinstaller not available; this is used to discover connected iOS devices.\n' '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 { ...@@ -152,7 +154,7 @@ class IOSWorkflow extends DoctorValidator implements Workflow {
brewStatus = ValidationType.partial; brewStatus = ValidationType.partial;
messages.add(new ValidationMessage.error( messages.add(new ValidationMessage.error(
'libimobiledevice is incompatible with the installed Xcode version. To update, run:\n' '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' 'brew install --HEAD libimobiledevice'
)); ));
} }
......
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