Getting Crash Logs

If your application is not crashing, the instructions on Enabling Console Debug Logs for iOS should be more useful.

Once you have deployed your app, either through the App Store or as an Ad Hoc or Enterprise build, you won't be able to attach Xcode's debugger to it. To debug problems, you need to analyze Crash Logs from the device.

Follow the instructions below to get crash logs with or without Xcode.

Getting Crash Logs Directly From a Device Without Xcode

If your users are experiencing a crash, they can retrieve crash logs from their device and email them to you for analysis.

1) Open the Settings app.

2) Go to Privacy, Analytics, Analytics Data.

3) Locate the log for the crashed app. The logs will begin with the format: <AppName>_<DateTime>_

4) Select the desired log. Then, press the share button and choose the Mail app.

5) Have the user send it to the desired email address. If you suspect the crash is occurring in the Skillz SDK, send the crash report to integrations@skillz.com.

Below is an example crash log on an iOS device:

example-ios-crash-log.png

Getting Crash Logs From a Device Using Xcode

1) Plug in the device and open Xcode

2) Choose Window -> Devices from the menu bar.

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

4) The window will switch to a different view.

5) Select the name of your Process along with the "Crash" Type in the left pane. There may be more than one entry so select the appropriate one.

6) The crash log will be displayed in the right pane. Select and copy the entire text.

7) Open the TextEdit app, create a new file, and paste the copied text.

8) Save the crash log from TextEdit.

9) If you suspect the crash is occurring in the Skillz SDK, send the crash report to integrations@skillz.com.

Below is an example crash log retrieved via Xcode:

Screen_Shot_2019-04-08_at_4.40.21_PM.png