Instantly share code, notes, and snippets.

Embed
What would you like to do?
MacOS (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools))
If you are facing an error like that on new MacOS version.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
It means that you need to install XCode command line, open a Terminal and run this command:
$ xcode-select --install
@seatemple52

This comment has been minimized.

Show comment
Hide comment
@seatemple52

seatemple52 Mar 8, 2018

Thank you very much!

seatemple52 commented Mar 8, 2018

Thank you very much!

@tintorres

This comment has been minimized.

Show comment
Hide comment
@tintorres

tintorres Mar 17, 2018

Just upgraded to macOS High Sierra
Version 10.13.3
xcode-select --install
works for me - thanks

tintorres commented Mar 17, 2018

Just upgraded to macOS High Sierra
Version 10.13.3
xcode-select --install
works for me - thanks

@tsonny

This comment has been minimized.

Show comment
Hide comment
@tsonny

tsonny Mar 26, 2018

High Sierra - worked for me TY :D

tsonny commented Mar 26, 2018

High Sierra - worked for me TY :D

@lemonyujia

This comment has been minimized.

Show comment
Hide comment
@lemonyujia

lemonyujia Apr 4, 2018

It works! Thank you.

lemonyujia commented Apr 4, 2018

It works! Thank you.

@DavidMarciel

This comment has been minimized.

Show comment
Hide comment
@DavidMarciel

DavidMarciel Apr 4, 2018

Thank you, it worked for me

DavidMarciel commented Apr 4, 2018

Thank you, it worked for me

@HarelShavit-Stratoscale

This comment has been minimized.

Show comment
Hide comment
@HarelShavit-Stratoscale

HarelShavit-Stratoscale Apr 9, 2018

Thank you! worked for me

HarelShavit-Stratoscale commented Apr 9, 2018

Thank you! worked for me

@AdventureBear

This comment has been minimized.

Show comment
Hide comment
@AdventureBear

AdventureBear commented Apr 16, 2018

Thank you

@davidpoundall

This comment has been minimized.

Show comment
Hide comment
@davidpoundall

davidpoundall Apr 21, 2018

Thank you very much for taking the time to share.

davidpoundall commented Apr 21, 2018

Thank you very much for taking the time to share.

@sinber

This comment has been minimized.

Show comment
Hide comment
@sinber

sinber Apr 26, 2018

Thank you!It works for me.
High Sierra 10.13.4

sinber commented Apr 26, 2018

Thank you!It works for me.
High Sierra 10.13.4

@SpankamusKhan

This comment has been minimized.

Show comment
Hide comment
@SpankamusKhan

SpankamusKhan May 9, 2018

Recently updated to Mac OS High Sierra 10.13.4. This worked for me as well! Thank you very much. :)

SpankamusKhan commented May 9, 2018

Recently updated to Mac OS High Sierra 10.13.4. This worked for me as well! Thank you very much. :)

@littledou2013

This comment has been minimized.

Show comment
Hide comment
@littledou2013

littledou2013 May 10, 2018

Thanks. It works for me.
High Sierra 10.13.4

littledou2013 commented May 10, 2018

Thanks. It works for me.
High Sierra 10.13.4

@manjang

This comment has been minimized.

Show comment
Hide comment
@manjang

manjang May 13, 2018

Works for me. Thanks a lot

manjang commented May 13, 2018

Works for me. Thanks a lot

@belivem

This comment has been minimized.

Show comment
Hide comment
@belivem

belivem May 13, 2018

thanks, words for me!

belivem commented May 13, 2018

thanks, words for me!

@ladaposamuel

This comment has been minimized.

Show comment
Hide comment
@ladaposamuel

ladaposamuel May 16, 2018

Did not work for me, do i need to restart or something?

ladaposamuel commented May 16, 2018

Did not work for me, do i need to restart or something?

@h-arora

This comment has been minimized.

Show comment
Hide comment
@h-arora

h-arora May 16, 2018

Restart the terminal after this command.

h-arora commented May 16, 2018

Restart the terminal after this command.

@adevabhaktuni

This comment has been minimized.

Show comment
Hide comment
@adevabhaktuni

adevabhaktuni commented May 21, 2018

thanks!

@kaleshg

This comment has been minimized.

Show comment
Hide comment
@kaleshg

kaleshg May 24, 2018

it worked for me. Thanks,

kaleshg commented May 24, 2018

it worked for me. Thanks,

@chandradamineni

This comment has been minimized.

Show comment
Hide comment
@chandradamineni

chandradamineni May 25, 2018

Thank you!It works for me.

chandradamineni commented May 25, 2018

Thank you!It works for me.

@mgrapiniak

This comment has been minimized.

Show comment
Hide comment
@mgrapiniak

mgrapiniak Jun 4, 2018

Works like a charm after upgrading to High Sierra.
Thanks !

mgrapiniak commented Jun 4, 2018

Works like a charm after upgrading to High Sierra.
Thanks !

@kaileimao1996

This comment has been minimized.

Show comment
Hide comment
@kaileimao1996

kaileimao1996 Jun 5, 2018

thanks. it worked.

kaileimao1996 commented Jun 5, 2018

thanks. it worked.

@mammefen

This comment has been minimized.

Show comment
Hide comment
@mammefen

mammefen commented Jun 13, 2018

thank you

@Xiaohuaniu0032

This comment has been minimized.

Show comment
Hide comment
@Xiaohuaniu0032

Xiaohuaniu0032 commented Jun 27, 2018

tks

@astrieanna

This comment has been minimized.

Show comment
Hide comment
@astrieanna

astrieanna commented Jun 28, 2018

Thank you!

@ktjd123

This comment has been minimized.

Show comment
Hide comment
@ktjd123

ktjd123 Jun 28, 2018

Thank you!

ktjd123 commented Jun 28, 2018

Thank you!

@djshowtime

This comment has been minimized.

Show comment
Hide comment
@djshowtime

djshowtime Jul 2, 2018

Thank you!It works for me.
High Sierra 10.13.5

djshowtime commented Jul 2, 2018

Thank you!It works for me.
High Sierra 10.13.5

@yihuil1992

This comment has been minimized.

Show comment
Hide comment
@yihuil1992

yihuil1992 Jul 3, 2018

Thank you! Works for me, the version is High Sierra 10.13.5

yihuil1992 commented Jul 3, 2018

Thank you! Works for me, the version is High Sierra 10.13.5

@sergeev

This comment has been minimized.

Show comment
Hide comment
@sergeev

sergeev Jul 6, 2018

MacBook Pro (Retina, 15-inch, Mid 2015) 10.13.5 It works for me! 👍

sergeev commented Jul 6, 2018

MacBook Pro (Retina, 15-inch, Mid 2015) 10.13.5 It works for me! 👍

@squidbe

This comment has been minimized.

Show comment
Hide comment
@squidbe

squidbe commented Jul 6, 2018

👍

@AlvaroGonzalezCans

This comment has been minimized.

Show comment
Hide comment
@AlvaroGonzalezCans

AlvaroGonzalezCans Jul 9, 2018

Thanks! Works for me, MacBook Pro 2017 High Sierra 10.13.5 .

AlvaroGonzalezCans commented Jul 9, 2018

Thanks! Works for me, MacBook Pro 2017 High Sierra 10.13.5 .

@habhilash

This comment has been minimized.

Show comment
Hide comment
@habhilash

habhilash Jul 10, 2018

Thanks! works for me as well.

habhilash commented Jul 10, 2018

Thanks! works for me as well.

@owenmorrill

This comment has been minimized.

Show comment
Hide comment
@owenmorrill

owenmorrill commented Jul 12, 2018

Thanks!

@ruiruige

This comment has been minimized.

Show comment
Hide comment
@ruiruige

ruiruige Jul 13, 2018

thanks. I am new to mac. several days before, the mac prompt a message, And I choose update.
after 40min , I finally realized I have updated the High Sierra.
Now I meet the error. Thank u for your solution.

ruiruige commented Jul 13, 2018

thanks. I am new to mac. several days before, the mac prompt a message, And I choose update.
after 40min , I finally realized I have updated the High Sierra.
Now I meet the error. Thank u for your solution.

@jakesyl

This comment has been minimized.

Show comment
Hide comment
@qiangli

This comment has been minimized.

Show comment
Hide comment
@qiangli

qiangli Jul 19, 2018

Thanks @gaquino, "xcode-select --install" reduced my errors to one ; you may also need to follow the link posted by @jakesyl. for the impatient: I had to run "brew update/brew upgrade" to successully install kubernetes-helm after upgrading to macOS Sierra today.

qiangli commented Jul 19, 2018

Thanks @gaquino, "xcode-select --install" reduced my errors to one ; you may also need to follow the link posted by @jakesyl. for the impatient: I had to run "brew update/brew upgrade" to successully install kubernetes-helm after upgrading to macOS Sierra today.

@sweettimes

This comment has been minimized.

Show comment
Hide comment
@sweettimes

sweettimes Jul 23, 2018

Thank you so much, it works !!!!!!

sweettimes commented Jul 23, 2018

Thank you so much, it works !!!!!!

@jericode

This comment has been minimized.

Show comment
Hide comment
@jericode

jericode commented Jul 28, 2018

Thanks!!!

@hlwanghl

This comment has been minimized.

Show comment
Hide comment
@hlwanghl

hlwanghl commented Jul 30, 2018

Thanks!

@jkhamilton62

This comment has been minimized.

Show comment
Hide comment
@jkhamilton62

jkhamilton62 Aug 18, 2018

Worked for me! Thanks! MacBook Air MacOS High Sierra version 10.13.6

jkhamilton62 commented Aug 18, 2018

Worked for me! Thanks! MacBook Air MacOS High Sierra version 10.13.6

@rajashaker

This comment has been minimized.

Show comment
Hide comment
@rajashaker

rajashaker Aug 21, 2018

Worked for me! Thanks MacBook Air MacOS High Sierra version 10.13.6

rajashaker commented Aug 21, 2018

Worked for me! Thanks MacBook Air MacOS High Sierra version 10.13.6

@therajanmaurya

This comment has been minimized.

Show comment
Hide comment
@therajanmaurya

therajanmaurya Aug 27, 2018

Thanks, It worked!

therajanmaurya commented Aug 27, 2018

Thanks, It worked!

@alesmit

This comment has been minimized.

Show comment
Hide comment
@alesmit

alesmit Aug 27, 2018

It worked.

alesmit commented Aug 27, 2018

It worked.

@abhinavprakash

This comment has been minimized.

Show comment
Hide comment
@abhinavprakash

abhinavprakash commented Aug 28, 2018

What the fix!

@ariel123

This comment has been minimized.

Show comment
Hide comment
@ariel123

ariel123 Aug 28, 2018

Thank you, this worked for me.

ariel123 commented Aug 28, 2018

Thank you, this worked for me.

@y0n4

This comment has been minimized.

Show comment
Hide comment
@y0n4

y0n4 Aug 28, 2018

omg thank u sm

y0n4 commented Aug 28, 2018

omg thank u sm

@alexohotnikov

This comment has been minimized.

Show comment
Hide comment
@alexohotnikov

alexohotnikov Aug 29, 2018

Thank you! 👍

alexohotnikov commented Aug 29, 2018

Thank you! 👍

@victoriaiii

This comment has been minimized.

Show comment
Hide comment
@victoriaiii

victoriaiii Aug 29, 2018

YOU'RE THE BEST, thank youuuu

victoriaiii commented Aug 29, 2018

YOU'RE THE BEST, thank youuuu

@gp2u

This comment has been minimized.

Show comment
Hide comment
@gp2u

gp2u Aug 30, 2018

Thank you!

gp2u commented Aug 30, 2018

Thank you!

@osvaldocaliari-bbd

This comment has been minimized.

Show comment
Hide comment
@osvaldocaliari-bbd

osvaldocaliari-bbd Sep 3, 2018

Thank you, this worked for me and fixed the issue with my git command!

osvaldocaliari-bbd commented Sep 3, 2018

Thank you, this worked for me and fixed the issue with my git command!

@Tr0j4n9

This comment has been minimized.

Show comment
Hide comment
@Tr0j4n9

Tr0j4n9 commented Sep 21, 2018

Thanks!

@Hollyn

This comment has been minimized.

Show comment
Hide comment
@Hollyn

Hollyn Sep 22, 2018

Thanks for the sharing! (y)

Hollyn commented Sep 22, 2018

Thanks for the sharing! (y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment