最近xcode更新频繁,没有删除,偷懒就共存了两版本,删除了一下,导致git用不了~
xcrun: error: active developer path ("/Applications/Xcode 2.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`)
然后发现提示消息也非常的明确,
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
轻轻一个回车,git又可以欢乐的去玩了~
时间: 2024-10-27 04:15:46