Registering
V2EX  ›  问与答

删除 xcode 后 git 命令行不能用了

  •  
  •   Registering · Sep 18, 2015 · 2179 views
    This topic created in 3988 days ago, the information mentioned may be changed or developed.

    我用的是 cleanMyMac2 删除的 xcode ,然后,,,然后 git 命令行就用不了了

    QuinnChens-MacBook-Pro:gitknife Quinn$ git status
    xcrun: error: active developer path ("/Developer/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`)
    
    1 replies    2015-09-18 15:15:24 +08:00
    yyfearth
        1
    yyfearth  
       Sep 18, 2015
    git 就是 xcode 命令行工具里面带的啊
    如果你不想要 xcode 估计重装命令行工具就可以修复吧
    也可能由于 CMM2 没有删除干净 导致没办法修复
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   932 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:15 · PVG 05:15 · LAX 14:15 · JFK 17:15
    ♥ Do have faith in what you're doing.