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/CommandLineToolsxcode-select --install
如果还是报错,加上sudo
sudo rm -rf /Library/Developer/CommandLineToolssudo xcode-select --install
弹出安装界面,直接安装