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.


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.

results matching ""

    No results matching ""