- 打印当前默认 Xcode
xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
- 切换默认 Xcode
sudo xcode-select -switch /Applications/Xcode12.5.1.app/Contents/Developer
-switch 可以简写为 -s
xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
sudo xcode-select -switch /Applications/Xcode12.5.1.app/Contents/Developer
-switch 可以简写为 -s
本文标题:选择默认 Xcode
本文链接:https://www.haomeiwen.com/subject/ynhqaltx.html
网友评论