git push xcrun: error: active developer path does not exist

前端 未结 4 1924
渐次进展
渐次进展 2021-02-07 03:46

i recently deleted xcode 6 beta 3 and installed xcode 6 beta 6

when i entered gitpush in the terminal this happened

xcrun: error: active developer path (\"/Appli

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-07 04:05

    Try pasting this in the terminal:

    sudo xcode-select -switch /Applications/Xcode-Beta.app
    

    It will update the path, for the new Xcode name.

    Another alternative is just changing the app name back to Xcode, this, of course, considering you don't have the current one installed.

提交回复
热议问题