Skip to content

Instantly share code, notes, and snippets.

@fluffybeing
Forked from jmoody/export-crash-report.md
Created May 21, 2017 08:57
Show Gist options
  • Save fluffybeing/ee66366fe1d6d21648db041b05170ea9 to your computer and use it in GitHub Desktop.
Save fluffybeing/ee66366fe1d6d21648db041b05170ea9 to your computer and use it in GitHub Desktop.
Export a Crash Report From Xcode 6

Xcode 6

  1. Plug in the device and open Xcode
  2. Choose Window -> Devices from the Xcode menu
  3. Under the DEVICES section in the left column, choose the device
  4. To see crash logs, select the View Device Logs button under the Device Information section on the right hand panel
  5. Find your app in the Process column and select the Crash log to see the contents.
  6. IMPORTANT Be sure to symbolicate your crash report.
  7. Export the symbolicated crash report.

====

2015-02-12_09-17-24

===

2015-02-12_09-18-03

===

Using Xcode 5

  1. Plug in the device and open Xcode
  2. Open the Organizer window and select the Devices tab
  3. Under the DEVICES section in the left column, expand the listing for the device
  4. Select Device Logs to see crash logs or select Console to see Console output

Symbolicated

A symbolicated crash report will show line numbers.

0   libobjc.A.dylib    	0x000000010547400b objc_msgSend + 11
1   LPSimpleExample-cal	0x000000010327b6b5 -[LPCJSONSerializer serializeDictionary:error:] + 309 (LPCJSONSerializer.m:350)
2   LPSimpleExample-cal	0x000000010327a888 -[LPCJSONSerializer serializeObject:error:] + 664 (LPCJSONSerializer.m:121)
3   LPSimpleExample-cal	0x000000010327b4ab -[LPCJSONSerializer serializeArray:error:] + 203 (LPCJSONSerializer.m:317)
4   LPSimpleExample-cal	0x000000010327a809 -[LPCJSONSerializer serializeObject:error:] + 537 (LPCJSONSerializer.m:117)
5   LPSimpleExample-cal	0x000000010327b6b5 -[LPCJSONSerializer serializeDictionary:error:] + 309 (LPCJSONSerializer.m:350)
6   LPSimpleExample-cal	0x00000001032882b9 +[LPJSONUtils serializeDictionary:] + 89 (LPJSONUtils.m:38)
7   LPSimpleExample-cal	0x000000010326f275 -[LPGenericAsyncRoute readDataOfLength:] + 213 (LPGenericAsyncRoute.m:59)
8   LPSimpleExample-cal	0x0000000103254d79 -[LPHTTPConnection continueSendingStandardResponseBody] + 121 (LPHTTPConnection.m:1359)
9   LPSimpleExample-cal	0x00000001032580b7 __45-[LPHTTPConnection responseHasAvailableData:]_block_invoke + 199 (LPHTTPConnection.m:2508)
10  libdispatch.dylib             	0x0000000105d81af6 _dispatch_call_block_and_release + 12

Unsymbolicated

0   libsystem_kernel.dylib        	0x0000000196972ce8 0x196958000 + 109800
1   libsystem_kernel.dylib        	0x00000001969596f4 0x196958000 + 5876
2   CoreGraphics                  	0x0000000185cdee9c 0x185cd4000 + 44700
3   CoreGraphics                  	0x0000000185cdecd4 0x185cd4000 + 44244
4   UIKit                         	0x000000018a2551e0 0x18a238000 + 119264
5   UIKit                         	0x000000018a257778 0x18a238000 + 128888
6   UIKit                         	0x000000018a256ce4 0x18a238000 + 126180
7   UIKit                         	0x000000018a580e38 0x18a238000 + 3444280
8   UIKit                         	0x000000018a256708 0x18a238000 + 124680
9   UIKit                         	0x000000018a304a80 0x18a238000 + 838272
10  UIKit                         	0x000000018a252f80 0x18a238000 + 110464
11  UIKit                         	0x000000018a302200 0x18a238000 + 827904
12  UIKit                         	0x000000018a301a48 0x18a238000 + 825928
13  UIKit                         	0x000000018a2e6b00 0x18a238000 + 715520
14  UIKit                         	0x000000018a30151c 0x18a238000 + 824604
15  VoiceMemos                    	0x00000001000da7a8 0x1000d0000 + 42920
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment