【问题标题】:can't start Git after updating Mac OS/XCode更新 Mac OS/XCode 后无法启动 Git
【发布时间】:2015-12-14 00:09:51
【问题描述】:

最近我更新了Xcode的版本,但是当我在终端中运行git时,终端给出了错误消息:

xcodebuild:错误:找不到 SDK“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk”。 git:错误:无法找到实用程序“git”,而不是开发人员工具或 PATH

【问题讨论】:

    标签: xcode git


    【解决方案1】:

    我有一个与 IntelliJ 相关的类似问题,试试这个:

    打开终端并执行:

    sudo xcodebuild -license
    

    按空格直到最后,并同意许可。
    这对我有用,

    最好的问候,

    【讨论】:

      猜你喜欢
      • 2019-05-02
      • 1970-01-01
      • 2014-12-24
      • 2014-07-24
      • 2016-12-06
      • 2018-12-08
      • 2011-02-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多