App Crashes On Launch

I have been trying to figure this out for days and can't figure it out. I originally thought it was my launch screen, but everything is set up fine.

My app keeps getting rejected for the same reason and I need help.

See the lastExceptionBacktrace from the log Apple sent me below.

"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "lastExceptionBacktrace" : [{"imageOffset":40340,"symbol":"__exceptionPreprocess","symbolLocation":164,"imageIndex":6},{"imageOffset":99280,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":15},{"imageOffset":1535240,"symbol":"-[NSException init]","symbolLocation":0,"imageIndex":6},{"imageOffset":9072980,"imageIndex":0},{"imageOffset":9073352,"imageIndex":0},{"imageOffset":8992,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":16},{"imageOffset":16044,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":16},{"imageOffset":28556,"symbol":"_dispatch_queue_override_invoke","symbolLocation":788,"imageIndex":16},{"imageOffset":88388,"symbol":"_dispatch_root_queue_drain","symbolLocation":396,"imageIndex":16},{"imageOffset":90456,"symbol":"_dispatch_worker_thread2","symbolLocation":164,"imageIndex":16},{"imageOffset":3488,"symbol":"_pthread_wqthread","symbolLocation":228,"imageIndex":10},{"imageOffset":2940,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":10}]

It’s hard to say what’s going on here based on a crash report snippet. Please post the full crash report. See Posting a Crash Report for advice on how to do that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I will attach a full log here from Apple. They have rejected the app again, they are saying it is crashing right on launch.

Here is a better view of the crash log: @eskimo any info you can offer will help! I am so stuck on this.

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  6

Application Specific Information:
abort() called


Last Exception Backtrace:
0   CoreFoundation                	       0x1b2908cb4 __exceptionPreprocess + 164
1   libobjc.A.dylib               	       0x1aba243d0 objc_exception_throw + 60
2   CoreFoundation                	       0x1b2a75c6c -[NSException init] + 0
3   Typebase                      	       0x1030472f4 GADApplicationVerifyPublisherInitializedCorrectly + 248
4   Typebase                      	       0x103047468 GADApplicationVerifyPublisherInitializedCorrectly + 619
5   libdispatch.dylib             	       0x1b9dc9320 _dispatch_call_block_and_release + 32
6   libdispatch.dylib             	       0x1b9dcaeac _dispatch_client_callout + 20
7   libdispatch.dylib             	       0x1b9dcdf8c _dispatch_queue_override_invoke + 788
8   libdispatch.dylib             	       0x1b9ddc944 _dispatch_root_queue_drain + 396
9   libdispatch.dylib             	       0x1b9ddd158 _dispatch_worker_thread2 + 164
10  libsystem_pthread.dylib       	       0x211c32da0 _pthread_wqthread + 228
11  libsystem_pthread.dylib       	       0x211c32b7c start_wqthread + 8

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0:
0   libsystem_kernel.dylib        	       0x1f0f64c84 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1f0f77b54 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x1f0f6a590 vm_copy + 120
3   ColorSync                     	       0x1baf233c4 ColorSyncProfileCopyData + 384
4   ColorSync                     	       0x1baf26880 __ColorSyncVerifyGenericLabData_block_invoke + 32
5   libdispatch.dylib             	       0x1b9dcaeac _dispatch_client_callout + 20
6   libdispatch.dylib             	       0x1b9dcc6ec _dispatch_once_callout + 32
7   ColorSync                     	       0x1baf26858 ColorSyncVerifyGenericLabData + 184
8   CoreGraphics                  	       0x1b459cdfc colorspace_with_name_from_icc_data + 244
9   CoreGraphics                  	       0x1b43c32dc CGColorSpaceFromICCDataCacheGetRetained + 348
10  CoreGraphics                  	       0x1b4402c9c CGColorSpaceCreateICCBased + 128
11  CoreGraphics                  	       0x1b46843f4 create_ICCBased + 528
12  CoreGraphics                  	       0x1b43e0a1c cg_build_colorspace + 664
13  CoreGraphics                  	       0x1b4414c8c CGPDFGroupCreate + 600
14  CoreGraphics                  	       0x1b441a040 CGPDFXObjectGetValue + 84
15  CoreGraphics                  	       0x1b4405ae8 op_Do + 464
16  CoreGraphics                  	       0x1b440e6fc pdf_scanner_handle_xname + 120
17  CoreGraphics                  	       0x1b43c2934 CGPDFScannerScan + 456
18  CoreGraphics                  	       0x1b441e794 CGContextDrawPDFPageWithDrawingCallbacks + 2700
19  CoreGraphics                  	       0x1b43bbfbc CGContextDrawPDFPage + 36
20  CoreUI                        	       0x1cc2ece00 -[CUINamedVectorPDFImage rasterizeImageUsingScaleFactor:forTargetSize:] + 320
21  UIKitCore                     	       0x1b4a09808 -[_UIImageCUIVectorImageContent _provideCGImageWithSize:scale:] + 60
22  UIKitCore                     	       0x1b59abd2c -[_UIImageContentRendition CGImage] + 60
23  UIKitCore                     	       0x1b4e48614 __61-[_UIImageContentLayout _prepareContentOfSize:source:target:]_block_invoke + 60
24  UIKitCore                     	       0x1b53c3f20 -[_UIImageContentLayout _materializeRenditionContents] + 76
25  UIKitCore                     	       0x1b49cb91c -[_UIImageContentLayout contents] + 24
26  UIKitCore                     	       0x1b49cb478 -[UIImageView _handlePendingImageLayout:] + 60
27  QuartzCore                    	       0x1b3e406f8 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 412
28  QuartzCore                    	       0x1b3e51a1c CA::Context::commit_transaction(CA::Transaction*, double, double*) + 444
29  QuartzCore                    	       0x1b3e80ff4 CA::Transaction::commit() + 648
30  UIKitCore                     	       0x1b4dfae90 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 36
31  CoreFoundation                	       0x1b29426e0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
32  CoreFoundation                	       0x1b29a9210 __CFRunLoopDoBlocks + 364
33  CoreFoundation                	       0x1b29790e8 __CFRunLoopRun + 848
34  CoreFoundation                	       0x1b297e3ec CFRunLoopRunSpecific + 612
35  GraphicsServices              	       0x1ed53b35c GSEventRunModal + 164
36  UIKitCore                     	       0x1b4d0b6e8 -[UIApplication _run] + 888
37  UIKitCore                     	       0x1b4d0b34c UIApplicationMain + 340
38  libswiftUIKit.dylib           	       0x1bb38f0b0 UIApplicationMain(_:_:_:_:) + 104
39  Typebase                      	       0x1027a7970 main + 31088 (SignUpViewController.swift:0)
40  dyld                          	       0x1d1e6edec start + 2220

Thread 6 name:   Dispatch queue: com.apple.root.default-qos
Thread 6 Crashed:
0   libsystem_kernel.dylib        	       0x1f0f6b558 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x211c39118 pthread_kill + 268
2   libsystem_c.dylib             	       0x1b9e83c04 __abort + 128
3   libsystem_c.dylib             	       0x1b9e2b184 abort + 192
4   libc++abi.dylib               	       0x211b77bf8 abort_message + 132
5   libc++abi.dylib               	       0x211b67444 demangling_terminate_handler() + 348
6   libobjc.A.dylib               	       0x1aba29ea4 _objc_terminate() + 144
7   libc++abi.dylib               	       0x211b76fbc std::__terminate(void (*)()) + 16
8   libc++abi.dylib               	       0x211b76f60 std::terminate() + 56
9   libdispatch.dylib             	       0x1b9dcaec0 _dispatch_client_callout + 40
10  libdispatch.dylib             	       0x1b9dcdf8c _dispatch_queue_override_invoke + 788
11  libdispatch.dylib             	       0x1b9ddc944 _dispatch_root_queue_drain + 396
12  libdispatch.dylib             	       0x1b9ddd158 _dispatch_worker_thread2 + 164
13  libsystem_pthread.dylib       	       0x211c32da0 _pthread_wqthread + 228
14  libsystem_pthread.dylib       	       0x211c32b7c start_wqthread + 8

Thread 7:
0   libsystem_pthread.dylib       	       0x211c32b74 start_wqthread + 0

The presence of the Last Exception Backtrace section indicates that your app crashed due to an unhandled language exception. Consider this:

Last Exception Backtrace:
0   CoreFoundation          … __exceptionPreprocess + 164
1   libobjc.A.dylib         … objc_exception_throw + 60
2   CoreFoundation          … -[NSException init] + 0
3   Typebase                … 0x1001f0000 + 9073364
4   Typebase                … 0x1001f0000 + 9073736
5   libdispatch.dylib       … _dispatch_call_block_and_release + 32
6   libdispatch.dylib       … _dispatch_client_callout + 20
7   libdispatch.dylib       … _dispatch_queue_override_invoke + 788
8   libdispatch.dylib       … _dispatch_root_queue_drain + 396
9   libdispatch.dylib       … _dispatch_worker_thread2 + 164
10  libsystem_pthread.dylib … _pthread_wqthread + 228
11  libsystem_pthread.dylib … start_wqthread + 8

Frames 11 through 5 are standard Dispatch machinery to call a block on a queue. Frames 4 through 3 are your code, and it’s that code that’s thrown the exception. Frames 2 through 0 are standard exception throwing machinery.

To make progress on this you’ll need to symbolicate the crash report to uncover the identity of the code in frames 4 through 3. See Adding Identifiable Symbol Names to a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi dsndrs89, were you able to solve this issue? i have been struggling with this exact the same crash log for months already! :(

App Crashes On Launch
 
 
Q