Skip to content

Combine results from mdfind and xcode-select when searching for available Xcode applications #1532

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

Merged
merged 1 commit into from
May 1, 2025

Conversation

matthewbastien
Copy link
Member

@matthewbastien matthewbastien commented Apr 30, 2025

Using the Spotlight index to find Xcode installations on macOS may not always find all available Xcode applications depending on macOS settings and the state of the Spotlight index itself. Include the result of xcode-select -p when finding Xcode applications to ensure that the currently selected Xcode is always included in the list of available Xcode applications for toolchain selection.

Issue: #1528

@matthewbastien matthewbastien merged commit aedf8eb into swiftlang:main May 1, 2025
17 checks passed
@matthewbastien matthewbastien deleted the better-xcode-find branch May 1, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants