Mac神器-Command Line Tool
企业开发
2022-10-16 04:19:05
阅读次数: 0
Xcode
是运行在操作系统Mac OS X
上用于开发 macOS
和 iOS
应用程序的集成开发工具(IDE
Xcode
同时也是一种语言,作为一种基于XML
的语言
1、安装Xcode
- 命令行执行
xcode-select --install
- 出现错误
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
- 解决办法:
rm -rf /Library/Developer/CommandLineTools
xcode-select --install
- 如果还是报错,加上sudo
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
- 弹出安装界面,直接安装
转载自blog.csdn.net/qq_37768368/article/details/121574916