Reveal的使用之--分析本地appUI

Instructions

The following steps only need to be performed once for each computer and user account you're running Reveal on:

In Reveal, open theHelpmenu and clickInstall Debugger Commands…

ClickContinueto finish the installation.

To learn more about Reveal Server debugger commands, please refer to thecorresponding guide.

Open your iOS or tvOS project in Xcode, and selectView → Navigators → Show Breakpoint Navigator.

In the bottom left of the pane, click the+button and selectSymbolic Breakpoint…

Reveal的使用之--分析本地appUI_第1张图片

EnterUIApplicationMaininto theSymbolfield.

Click theAdd Actionbutton, and ensure thatActionis set toDebugger Command.

Copy and paste the following command into the field below:

reveal load

CheckAutomatically continue after evaluating actions.

Reveal的使用之--分析本地appUI_第2张图片

Right click the newly created breakpoint and selectMove Breakpoint To → User.

Reveal的使用之--分析本地appUI_第3张图片

You can enable and disable the breakpoint as you would any other. User breakpoints are available across all Xcode projects.

In Xcode, build and run your application under the iOS or tvOS Simulator.

Reveal的使用之--分析本地appUI_第4张图片

You should now be able to switch to Reveal and see your iOS or tvOS application listed. Select your app and verify that you can see a snapshot matching what you see in the simulator.

你可能感兴趣的:(Reveal的使用之--分析本地appUI)