macbook 下使用git 上传github代码总是提示安装xcode?

浏览:30日期:2023-08-20

问题描述

create a new repository on the command line的时候 在终端输入命令

一直提示

xcode-select: note: no developer tools were found at ’/Applications/Xcode.app’, requesting install. Choose an option in the dialog to download the command line developer tools.

提示安装xcode

问题解答

回答1:

xcode内置了某些开发需要的环境,即便不用,也建议安装。

回答2:

应该不是提示你装Xcode,应该是装Command Line Tools,你单独装一个就行了

相关文章: