I have been trying to instal the Git on my mac, But every time I use the command $git --version.
I get the following error
xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use xcode-select --switch path/to/Xcode.app
to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select
)
I have already installed the Xcode on my mac for iOS App development. I am not sure what this error is trying to say.
xcode-select --switch path/to/Xcode.app
? And if so, what happened? You should describe that in your question. – sideshowbarkerls /usr/bin/xcode*
it shows nothing, right? If so then you must not have XCode installed correctly, and you need to try re-installing it—from the App Store, or starting at itunes.apple.com/jp/app/xcode/id497799835 – sideshowbarker