Create a gist now

Instantly share code, notes, and snippets.

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
@AdventureBear

AdventureBear Apr 16, 2018

Thank you

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
@adevabhaktuni

adevabhaktuni May 21, 2018

thanks!

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,

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