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

[ci/osx] xcode-select: error: tool 'xcodebuild' requires Xcode #615

Closed
bnoordhuis opened this issue Feb 6, 2017 · 6 comments
Closed

[ci/osx] xcode-select: error: tool 'xcodebuild' requires Xcode #615

bnoordhuis opened this issue Feb 6, 2017 · 6 comments

Comments

@bnoordhuis
Copy link
Member

See e.g. https://ci.nodejs.org/job/node-test-commit-osx/nodes=osx1010/7664/console:

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
@gibfahn
Copy link
Member

gibfahn commented Feb 6, 2017

I think this is a duplicate of nodejs/node-gyp#569 (comment) (also see nodejs/node-gyp#1057). Basically the xcodebuild tool is only available in the full Xcode version, but it doesn't actually seem to be doing anything in node=gyp.

So the proper fix would be to submit a version of nodejs/node-gyp#1057 to gyp, but in the meantime the errors can be ignored.

@bnoordhuis
Copy link
Member Author

I don't remember seeing them before though. Did something change on the OS X buildbot?

@thefourtheye
Copy link

xcodebuild tool is only available in the full Xcode version

Actually xcodebuild expects XCode to be available, but it found just Command line tools. I recently uninstalled XCode while helping someone (https://twitter.com/dFourthi/status/828154632077668352), and I started getting this message after that. It doesn't affect the build though.

@bnoordhuis
Copy link
Member Author

Okay, if it isn't really a bug I'll go ahead and close. Thanks for the replies.

@saraahmad1114
Copy link

I have Xcode installed and that was one of the very first things I installed but I am still getting this error, I have a whole project running on xcode, so I don't know what else to do

@gibfahn
Copy link
Member

gibfahn commented Jun 16, 2018

I have Xcode installed and that was one of the very first things I installed but I am still getting this error, I have a whole project running on xcode, so I don't know what else to do

Unless your build fails, I wouldn't worry about it.

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

4 participants