Since this plugin uses the mdfind command to locate all the installed versions of Xcode, it breaks when spotlight indexing is disabled, with a message such as:
No Xcode found with build number 9.2
Option 1
Include a generic message with the above error, such as:
Check to make sure you have Xcode installed and Spotlight indexing is enabled
Option 2
Emit a warning (or error?) when spotlight indexing is disabled.
Since this plugin uses the
mdfind
command to locate all the installed versions of Xcode, it breaks when spotlight indexing is disabled, with a message such as:Option 1
Include a generic message with the above error, such as:
Option 2
Emit a warning (or error?) when spotlight indexing is disabled.
Spotlight Disabled
Spotlight Enabled