iOS精英班架构+设计模式+性能iOS 内存优化调试

About Instruments官方文档翻译整理 三

2017-08-14  本文已影响177人  蓝白自由
Launch Instruments from the Dock

Instruments can be launched from the Xcode icon in the Dock.
To launch Instruments from the Xcode icon in the Dock

dock_xcode_contextualmenu_instruments.png

也就是在Dock 按住 Xcode 一段时间后弹出窗口。


Instruments launches and its icon appears in your Dock.
让 Instruments 启动icon 保留在 Dock 中

instruments_app_icon.png
instruments_dock_contextual_menu_options_keepindock

Launch Instruments from Launchpad

Launchpad 自动显示您的应用程序。由于Instruments不在应用程序文件夹(至少不是直接在Xcode,它是在应用程序文件夹),它没有出现在 Launchpad。但是,您可以通过为工具创建一个别名并将其放入应用程序文件夹中来添加它。

To add Instruments to Launchpad

xcode_instruments_menu

Instruments launches and its icon appears in your Dock.

instruments_dock_contextual_menu_options

Option-Command-drag 将instruments应用程序图标拖到应用程序文件夹中。
创建了一个instruments别名并添加到应用程序文件夹中。
从instruments别名的文件名中删除别名后缀。
instruments现在出现在Launchpad。


Launch Instruments from the Command Line

You can use the open command to launch any app in OS X via Terminal.

To launch Instruments using the open command line tool
open /Applications/Xcode.app/Contents/Applications/Instruments.app

The Instruments app launches.

上一篇 下一篇

猜你喜欢

热点阅读