xcode-select – 更改默认Xcode
2014-09-11 10:09
141 查看
xcode-select – 更改默认Xcode
(2014-07-07 15:00:41)转载▼
分类: iOS |
请看下文:
It’s not uncommon developers to have multiple versions of Xcode installed. For example, I typically have the latest beta as well as the most current production release installed.
However, there are times when you may want various tools, such as xcodebuild, to point to a specific Xcode folder. To faciliate this, you can use xcode-select. A common use case is if you use scripts and/or
makefiles to build your projects.
Once you set the Xcode folder, xcodebuild will be invoked from the folder you specified.
The command line options are below:
xcode-select [-help] xcode-select [-switch xcode_folder_path] xcode-select [-print-path] xcode-select [-version] |
1 2 | ~$ xcode-select --print-path /Developer/Applications/Xcode.app |
Use the -switch option to change to another version of Xcode on your system:
$ sudo xcode-select -switch /Users/JOHN/Downloads/Xcode45-DP3.app |
Printing the path now looks as follows:
1 2 | ~$ xcode-select --print-path /Users/JOHN/Downloads/Xcode45-DP3.app/Contents/Developer |
$ sudo xcode-select -switch /Applications/Xcode.app/ |
~$man xcode-select |
相关文章推荐
- xcode-select – 更改默认Xcode
- Xcode 更改默认版本 xcode-select
- xcode-select – 更改默认Xcode
- 更改默认Xcode
- ios 更改xcode 默认的https协议
- xcode路径引起的问题,使用xcode-select -print-path 显示后再使用Xcode-select -switch更改
- select默认选中后更改选项
- 无意中更改 xcode-select 默认值后,opendiff 命令无法调用
- xcode路径引起的问题,使用xcode-select -print-path 显示后再使用Xcode-select -switch更改
- 更改gitlab默认端口
- xcrun: error: active developer path ("/Volumes/Xcode/Xcode-beta.app/Contents/Developer") does not exist, use `xcode-select --swi
- Centos7更改默认网卡为eth
- xcode-select --install 解决方案
- Xcode恢复设置默认字体
- 更改远程桌面默认端口3389及删除远程桌面连接历史记录
- 更改Windows系统默认字体的方法
- 更改mysql的默认目录
- ahjesus linux连接阿里云ubuntu服务器并更改默认账号和密码,以及创建子账户
- ORACLE创建表空间、创建用户、更改用户默认表空间以及授权、查看权限(修改表空间大小)
- 选择默认程序--添加无效--强制更改,ps为例