-
Notifications
You must be signed in to change notification settings - Fork 73
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
gyp: fix XCode CLT version detection on Catalina #44
Conversation
Copies @szekelyisz nodejs/node-gyp#2141 to this repo.
@szekelyisz: any idea what |
@rvagg Hmm I didn't test that. AFAIK there's no (clean) way to roll back any update in macOS, and the package is gone, so the only way I can imagine to remove the tools is to delete the installation directory (usually |
Co-authored-by: Michaël Zasso <targos@protonmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM.
I'm not a mac user and don't have a way of verifying/testing this locally. I believe @BethGriggs has tested the nodejs/node-gyp#2141 patch against the gyp in core and was able to build Node.js but still got "No receipt for ..." warnings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM. Can try testing this on MacOS, but it'll take me a while to get Catalina running.
As @richardlau mentioned, I had seemingly related issue with Xcode on Catalina yesterday. Before:
After applying the patch from nodejs/node-gyp#2141 I was able to build (this was v10.x). The |
When can we expect to have this merged and released? |
I'll merge this now since @BethGriggs has confirmed that it fixes the problem atleast to some extent. At some point in the near future, either me or @targos would make a release and update it in nodejs/node and nodejs/node-gyp. |
Copies @szekelyisz nodejs/node-gyp#2141 to this repo.