xcrun: error: active developer path (“/Applications/Xcode.app/Contents/Developer”) does not exist

后端 未结 9 1993
轻奢々
轻奢々 2020-12-07 07:50

I\'m having xcode issues when I try to use brew and git:

xcrun: error: active developer path (\"/Applications/Xcode.app/Contents/Developer\") does not

9条回答
  •  一向
    一向 (楼主)
    2020-12-07 08:38

    Mostly this error occurs when you have installed a newer version of xcode. And the command line tools are yet to be initialized.

    To resolve this: Go under Xcode Preferences > Locations (tab) > And the bottom options is Command Line Tools. Please select the Xcode version for tools.

    Example (For Xcode 10.0 (10A255) ): Go under Xcode Preferences > Locations (tab) > And the bottom options is Command Line Tools. Select Xcode 10.0 (10A255).

    For more details please see the attached image. Hope it helps.

    -- Thanks


提交回复
热议问题