Skip to content

Commit 662cfc3

Browse files
committed
[README] Explain Spotlight failure workaround
1 parent f878692 commit 662cfc3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,11 @@ XcodeInstall automatically installs additional components so that it is immediat
149149
commandline. Unfortunately, Xcode will load third-party plugins even in that situation, which leads
150150
to a dialog popping up. Feel free to dupe [the radar][5]. 📡
151151

152-
XcodeInstall uses the Spotlight index to locate installed versions of Xcode. If you use it while
152+
XcodeInstall normally relies on the Spotlight index to locate installed versions of Xcode. If you use it while
153153
indexing is happening, it might show inaccurate results and it will not be able to see installed
154-
versions on unindexed volumes.
154+
versions on unindexed volumes.
155+
156+
To workaround the Spotlight limitation, XcodeInstall searches `/Applications` folder to locate Xcodes when Spotlight is disabled on the machine, or when Spotlight query for Xcode does not return any results. But it still won't work if your Xcodes are located under `/Applications` folder.
155157

156158
## Thanks
157159

0 commit comments

Comments
 (0)