查看xcode&instruments版本以及版本切换
2016-01-12 10:53
267 查看
一、查看xcode版本
【1】方法一:命令行查看
xcodebuild -version
输出结果如下:
Xcode 7.1.1
Build version 7B1005
【2】方法二:打开xcode,工具栏:xcode->about xcode
参考文档:
http://jingyan.baidu.com/article/d621e8da36396d2865913f9b.html
二、查看instruments版本
【1】方法一:命令行输入:instruments
输入结果如下:
instruments, version 7.1.1 (59040)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
【2】方法二:打开instruments,工具栏:instruments->about instruments
三、打开模拟器Simulator
【1】方法一:xcode ->open developer tool ->simulator
【2】方法二:xcode编译工程,选择模拟器,编译完成后,模拟器自动启动
四、切换xcode版本
xcode-select 命令
如:sudo xcode-select --switch /Applications/Xcode5.0.2.app/
Options:
-h, --help print this help message and exit
-p, --print-path print the path of the active developer directory
-s <path>, --switch <path> set the path for the active developer directory
--install open a dialog for installation of the command line developer tools
-v, --version print the xcode-select version
-r, --reset reset to the default command line tools path
说明:
1、使用xcode-select -s来指定xcode路径
2、instruments随xcode版本的切换而同步更新
【1】方法一:命令行查看
xcodebuild -version
输出结果如下:
Xcode 7.1.1
Build version 7B1005
【2】方法二:打开xcode,工具栏:xcode->about xcode
参考文档:
http://jingyan.baidu.com/article/d621e8da36396d2865913f9b.html
二、查看instruments版本
【1】方法一:命令行输入:instruments
输入结果如下:
instruments, version 7.1.1 (59040)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
【2】方法二:打开instruments,工具栏:instruments->about instruments
三、打开模拟器Simulator
【1】方法一:xcode ->open developer tool ->simulator
【2】方法二:xcode编译工程,选择模拟器,编译完成后,模拟器自动启动
四、切换xcode版本
xcode-select 命令
如:sudo xcode-select --switch /Applications/Xcode5.0.2.app/
Options:
-h, --help print this help message and exit
-p, --print-path print the path of the active developer directory
-s <path>, --switch <path> set the path for the active developer directory
--install open a dialog for installation of the command line developer tools
-v, --version print the xcode-select version
-r, --reset reset to the default command line tools path
说明:
1、使用xcode-select -s来指定xcode路径
2、instruments随xcode版本的切换而同步更新
相关文章推荐
- 分布式数据重复提交
- Filter 防Xss攻击
- Burp Suite使用介绍——Proxy功能(六)
- WIN10 64bit python2.7 安装 numpy scipy matplotlib
- jQuery升级踩坑大全
- 深入java虚拟机(二)——类的生命周期(上)类的加载和连接
- 热血沙城-3.2移植-古月-cocos2dx源码
- scp复制文件
- 微信各种号的关系
- 高精度加法
- osg示例程序解析1----osganimate
- 服务器标记的格式不正确
- 深入理解require与require_once与include以及include_once的区别
- PowerDesigner 修改 MySQL数据库的 Table或DataBase的 ENGINE类型 为InnoDB 或 ISAM 等
- 模拟监控和真实用户体验监测,选哪个?
- OD-条件断点、条件记录断点
- Java中事务的处理
- Android中Parcelable接口用法
- 如何解决通过VNC远程登陆服务器,终端中Tab键自动补全的问题
- 服务器标记的格式不正确