Getting Crash Logs and Console Output From a Device Using Xcode Even though you won't be able to run the app in Xcode's debugger, Xcode can still give you all the information you need to debug the problem

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

This is an informational post:

1) Plug in the device and open Xcode, Connect your iPhone to the Mac

  1. Select Trust this computer on the iPhone pop-up request

2) Just open Xcode no need to run, Choose Window -> Devices from the menu bar

3) Under the DEVICES section in the left column, choose the device

4) To see the device console, click the up-triangle at the bottom left of the right hand panel

5) Click the down arrow on the bottom right to save the console as a file

6) To see crash logs, select the View Device Logs button under the Device Information section on the right hand panel

7) Find your app in the Process column and select the Crash log to see the contents.

8) To save a crash log, right click the entry on the left column and choose "Export Log"

Please find screenshots for your reference.

Hope this will help to get the debug logs Even though you won't be able to run the app in Xcode's debugger, Xcode can still give you all the information you need to debug the problem.