Invalid active developer path on MAC OS X after installing Ruby

前端 未结 11 956
半阙折子戏
半阙折子戏 2020-11-29 02:48

I get this error:

xcrun: error: invalid active developer path (/Applications/Xcode.app), missing xcrun at: /Applications/Xcode.app/usr/bin/xcrun

11条回答
  •  佛祖请我去吃肉
    2020-11-29 03:01

    I had faced the same issue when i removed one of the two Xcode installed.

    I have solve this issue by Switching the path using terminal like below

    $ sudo xcode-select --switch (drag Xcode here to get a path)

    e.g sudo xcode-select --switch /Applications/Xcode\ 10.1.app

提交回复
热议问题