OSX: warn when `MASON_XCODE_ROOT` does not exist
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 258
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
It looks possible for the value returned by xcode-select -p to not exist. In this case we should stop the build or warn the user of the potential problem.
refs https://github.com/mapbox/mason/blob/6aa9591a336ac71bfa1974185b6ee784a9b6033a/mason.sh#L12
/cc @boblannon I think you hit this.
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 mason.sh line 12 and inspect how the value from xcode-select -p is assigned to MASON_XCODE_ROOT. Reproduce the case where that path does not exist, then verify that the build stops or warns the user about the invalid path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, shell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100