问问题描述
答精选答案

xcode-select
当安装多个xcode的版本,使用该工具使用指定的版本。
Print or change the path to the active developer directory. This directory
controls which tools are used for the Xcode command line tools (for example,
xcodebuild) as well as the BSD development commands (such as cc and make).
-p 或者 --print-path 查看当前开发者目录,也即是xcode的版本目录。print the path of the active developer directory
-s <path> 或 --switch <path> 选择xcode的版本
--install 安装
--version 查看版本
--reset 恢复默认
sudo rm -rf /Library/Developer/CommandLineTools 强制删除安装目录下的文件
本文来自作者[爱情的边疆74839]投稿,不代表公众科技网立场,如若转载,请注明出处:https://www.cpst.net.cn/changshijingxuan/202609/1304441.html
评论列表(4条)
我是公众科技网的签约作者“爱情的边疆74839”!
希望本篇文章《xcode select有什么用》能对你有所帮助!
本站[公众科技网]内容主要涵盖:教育咨询,知识百科
本文概览:xcode-select当安装多个xcode的版本,使用该工具使用指定的版本。Print or change the path to the active developer directory. This directorycontrols which tools are used for the Xcode command line tools (for example,xcodebuild) as well as the BSD development commands (such as cc an