1. 苹果升级了系统到10.13,导致git不能使用,报以下错误
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,这个xcode内容有很多,将近5个g,实际上只需要装Command_Line_Tools_macOS_10.13_for_Xcode 就可以了,大小大概189MB, 去苹果的开发者官网就可以下载了,地址 https://developer.apple.com/download/more/
截止2021-10-06,Command Line Tools在开发者平台还是在的(下载地址
Sign In - Apple
https://developer.apple.com/download/all/
)
2. 在app store下载了最新的macOS High Sierra系统,安装时报错”将安装器信息下载到目标宗卷失败。“
解决这个也很简单,关闭wifi,再打开wifi就行了,没必要去苹果官网重新下载系统搞一遍。
苹果升级了系统到10.13,导致git不能使用,报以下错误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,这...
xcode
-select: note: no
developer
tools
were found at '/
Application
s/
Xcode
.
app
',
reques
ting
install
. Choose an option in the dialog to download the command line
developer
tools
.
打开https://
developer
.
app
le.com/download/more/
下载Command Line
Tools
for
Xcode
.
Error:
Xcode
alone is not sufficient on
Sierra
.
Install
the Command Line
Tools
:
xcode
-select --
install
但Mac最新场景下安装
Xcode
时已经没有Command Line了,需要单独安装。根据提示在使用命令
xcode
-select
背景:mac系统下安装git成功后,还要提示安装
xcode
,原因是mac系统区别于windows等系统,
xcode
是mac开发的基础必要软件。
我安装完git后,检查下git版本,提示1如下:
$ git version
xcode
-select: note: no
developer
tools
were found at '/
Application
s/
Xcode
.
app
', req
open /
Application
s/
Xcode
.
app
/Contents/
Developer
/Platforms/iPhoneOS.platform/
Developer
/SDKs/iPhoneOS.sdk/usr/lib
如果安装在其他目录 或者
Xcode
改名的建议右键
Xcode
显示报内容,进入
Contents/
Developer
/Platforms/iPhoneOS.platform/
Developer
/SDKs/iPhoneOS.sdk/usr/lib
把刚刚下载的zip文件解压
获取到的 真机的 libstdc++.6.0.9.tbd 文件,扔进去
### 模拟器运行库
在终端输入以下命令打开
Xcode
的lib库目录(此目录位安装的默认目录)
open /
Application
s/
Xcode
.
app
/Contents/
Developer
/Platforms/iPhoneSimulator.platform/Develo
xcode
-select: note: no
developer
tools
were found at '/
Application
s/
Xcode
.
app
',
reques
ting
install
. Choose an option in the dialog to download the command line
developer
tools
.
安装homebrew时报错
具体错误:
no
developer
tools
were found at ‘/
Application
s/
Xcode
.
app
’,
reques
ting
install
.
Choose an option in the dialog to download the command line
developer
tools
.
报错原因:mac没有装
xcode
,
xcode
居然有11个G
解决方法:其实不需要下
xcode
,只需要下一个
xcode
的管理工具(个
最近刚接触mac电脑, 计划搭建下开发环境, 印象中mac电脑自带git。但真实操作给了我重重的一击。
出现报错信息:
xcode
-select: note: no
developer
tools
were found at '/
application
s/
xcode
.
app
',
reques
ting
install
. choose an option in the dialog to download the command line
developer
tools
.
网上搜索资料,是因为苹果升级了系统
可能原因:这个Git是
xcode
安装的,之前这个mac上面应该是装过
xcode
,然后把
xcode
卸载了,现在AS用这个git就有问题了,网上其他办法都不尽如人意。什么下载个
xcode
-select,软连接ln,对于我这mac小白来说都是浓浓的恶意。
----我的办法简单粗暴:重装一个git
安装新的git之前
$ which -a git
/usr/bin/git
安装最新的git后:安装过程...
springboot启动出现Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect‘ not set
42992