-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode 8.3 not discovered by XcodeInstall::Installer#installed_versions #203
Comments
Is it possible that perhaps the Spotlight DB simply hadn't yet been fully updated? I recently installed Xcode 8.3 and the People who would do mass installs of GarageBand, for example, used to run into a case where its bundle wouldn't be registered immediately after installation, and |
OK, that's good info - thanks @timsutton. 👍 |
Just to clarify that I didn't test the behaviour of a query immediately after an install - just hypothesizing based on prior experience with GarageBand, and also thinking that given the huge size and number of files in the Xcode bundle, that it could result in more lengthy background processing to fully scan its contents. |
Yup, understood! |
Seems something is a bit different with Xcode 8.3:
Previous version:
|
Not here:
|
Just installed Xcode 8.3 on another machine, (this time keeping 8.2.1 around) and ran these tests again after having launched Xcode 8.3.
|
Most other people around me have tried this experiment and seen the Xcode 8.3 path be discovered immediately 😩 #doesntworkonmymachine |
Doesn't work on my machine either. $ mdfind "kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode'"
(empty response) $ mdls -name kMDItemCFBundleIdentifier /Applications/Xcode.app
kMDItemCFBundleIdentifier = (null) |
I've mostly only been using XcodeInstall to do the fetching of the dmg/xip files and not actually doing installs (so I am usually using something like I suppose another approach would be if XcodeInstall instead just checked installed copies located only at |
I tried |
This behavior seems to be a bug. We can't find Xcode by Spotlight at all. |
Reindexing Spotlight worked for me. No idea why, but seems to be fixed. |
I agree with @timsutton, why make this more complicated than it has to be? |
I ran |
Fixed for me with 9.1 as well. |
fixed the issue for me 🙌 |
Steps to reproduce:
irb
:The problem appears to be with
This returns nothing if you run it after installing Xcode 8.3.
The text was updated successfully, but these errors were encountered: