我试图让我的计算机相信我已经安装了开发工具,当我输入命令"xcode-select --install“时,我收到了以下命令,并想知道在哪里设置路径?
xcode-select:报告或更改此计算机的活动Xcode安装路径。 使用: xcode-select --print-path打印活动Xcode文件夹的路径或: xcode-select -开关设置活动Xcode文件夹的路径,或: xcode-select - version打印xcode-select的版本。
谢谢!
发布于 2014-08-07 16:19:16
您必须将路径设置为"Xcode.app/Contents/Developer“目录(安装了xcode )。
$ xcode-select --switch /Applications/Xcode.app/Contents/Developer
这需要根权限。
发布于 2019-03-24 22:25:02
打开Xcode > Preferences > Locations >从下拉列表中选择Xcode版本并退出Xcode
https://stackoverflow.com/questions/25187133
复制相似问题