Hilshire / blog

temporary blog
2 stars 0 forks source link

mac 下多个 xcode 版本切换 #41

Closed Hilshire closed 4 years ago

Hilshire commented 4 years ago
  1. 下载多个版本的xcode。下载地址:More Downloads for Apple Developers
  2. 安装Command Line Tools
  3. 使用 xcode-select 切换版本
    • 当前版本:
      xcode-select -p
      //输出:Applications/Xcode.app/Contents/Developer
    • 切换Xcode版本:
      sudo xcode-select -s /Applications/Xcode10.2/Xcode.app/Contents/Developer

参考:Mac下多个Xcode版本切换