titletext | description |
---|---|
How to get device logs from Xcode |
Access Xcode device logs to help diagnose app installation and code issues.
|
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. |
-
Connect your phone to your laptop and open Xcode
-
Select Device and Simulators from the Window menu. The Devices and Simulators screen is displayed:
-
Select your device from the left panel.
-
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.
-
Click the Save Console button (at the bottom right) to save the log information within the console.