mac 安装多个xcode版本,选择默认启动版本
作者:
fulen | 来源:发表于
2019-04-09 15:08 被阅读2次
1、有时候xcode发布新版本,但是我们项目正要上线,来不及升级xcode版本,怕带来未知的风险,这时候就可以安装多个xcode版本,下载地址
https://developer.apple.com/download/more/
1.2 然后登陆apple developer,搜索xcode,即可下载最新版本

image.png
1.3 下载完成后,将当前低版本的xcode名字更改一下applications-->

修改xcode版本
1.4 安装新下载的xcode,安装完成后拖入到applications中,修改xcode名称
2、修改默认启动版本
$ xcode-select -p /Applications/Xcode10.1.app/Contents/Developer
2.1 这时候到工程目录下,右键可能不是你想使用的版本

默认启动版本
2.2 点击get info,点击open with选择你需要的版本,然后change all就OK了

image.png
本文标题:mac 安装多个xcode版本,选择默认启动版本
本文链接:https://www.haomeiwen.com/subject/joibiqtx.html
网友评论