How do I print the install path of a specific Xcode?
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
Hi:
We use xcodes in our CI infra, for now I just hard-encode /Applications/Xcode-{VERSION}.app.
However, if AppStore already installs Xcode as /Applications/Xcode.app, this breaks.
xcodes install -p doesn't achieve what I need, because in this case:
xcodes install -p 16.4.0
16.4 is already installed at /Applications/Xcode.app
Expected behavior:
- xcodes install 16.4.0 if it's not installed
- Then just prints out the raw path without that message prefix
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the xcodes install -p command entry point and trace how it handles an already-installed Xcode, including the /Applications/Xcode.app case. Confirm the command installs version 16.4.0 when needed and prints only the raw resolved path afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100