Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.58 KB

getting_device_logs_from_xcode.adoc

File metadata and controls

43 lines (36 loc) · 1.58 KB
titletext description
How to get device logs from Xcode
Access Xcode device logs to help diagnose app installation and code issues.

Getting device logs from Xcode

When trying to diagnose why a build does not install or an issue with your app or our SDK, it can be useful to retrieve device logs.

Important

Run Xcode and connect your device before the events that you wish to capture would occur. This is especially important when trying to diagnose app installation issues; if you run Xcode and connect your device after an installation failure, none of the installation errors are recorded.

  1. Connect your phone to your laptop and open Xcode

  2. The Window menu in Xcode Select Device and Simulators from the Window menu. The Devices and Simulators screen is displayed:

    The Devices and Simulators window in Xcode

  3. Select your device from the left panel.

  4. The toggle logs button Make sure that the logs are expanded. If they are not, press the small up arrow in the bottom left corner of the main pane.

    The Devices and Simulators window in Xcode, with logs displayed

  5. The Save Console button Click the Save Console button (at the bottom right) to save the log information within the console.