Skip to content
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

OSX: warn when MASON_XCODE_ROOT does not exist #572

Open
springmeyer opened this issue Mar 13, 2018 · 1 comment
Open

OSX: warn when MASON_XCODE_ROOT does not exist #572

springmeyer opened this issue Mar 13, 2018 · 1 comment

Comments

@springmeyer
Copy link
Contributor

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

mason/mason.sh

Line 12 in 6aa9591

MASON_XCODE_ROOT=$("xcode-select" -p)

/cc @boblannon I think you hit this.

@boblannon
Copy link
Contributor

just to clarify, it wasn't null. it was:

$ xcode-select -p
/Library/Developer/CommandLineTools

...and remained that way even after installing XCode. To get it set correctly, I needed to run this after installing XCode:

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

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

No branches or pull requests

2 participants