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

前端 未结 4 1921
渐次进展
渐次进展 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.

    0 讨论(0)
  • 2021-02-07 04:06

    Even i also faced the same problem after updating my XCode to 6.3

    Resolved my problem by Updating Command line tools

    $ sudo xcode-select -switch /

    0 讨论(0)
  • 2021-02-07 04:08

    Open xcode and navigate to preferences...

    Select Location of xcode from command line tools.

    After that perform command from terminal.

    0 讨论(0)
  • 2021-02-07 04:13

    Also, to remove dependency from XCode app you can manually install Command line developer tools and use the following command to update developer path:

    sudo xcode-select -switch /
    
    0 讨论(0)
提交回复
热议问题