Create a gist now

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!

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

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.

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

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

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.

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. :)

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

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?

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

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.

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 !

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.

thanks. it worked.

@mammefen

This comment has been minimized.

Show comment
Hide comment

thank you

@Xiaohuaniu0032

This comment has been minimized.

Show comment
Hide comment
@astrieanna

This comment has been minimized.

Show comment
Hide comment

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

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

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 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 .

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.

Thanks! works for me as well.

@owenmorrill

This comment has been minimized.

Show comment
Hide comment

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.

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.

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