Open valeriyvan opened 6 years ago
Main Thread Checker: UI API called on a background thread: -[UIAlertView initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:] PID: 54674, TID: 1742462, Thread name: (none), Queue name: NSOperationQueue 0x60400002bee0 (QOS: UNSPECIFIED), QoS: 0 Backtrace: 4 ChimpKitSampleApp 0x00000001076cccaf -[CKSubscribeAlertView showSubscribeError] + 127 5 ChimpKitSampleApp 0x00000001076cd22f 55-[CKSubscribeAlertView alertView:clickedButtonAtIndex:]_block_invoke + 479 6 ChimpKitSampleApp 0x00000001076c8789 -[ChimpKit URLSession:task:didCompleteWithError:] + 553 7 CFNetwork 0x000000010e31e437 51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.207 + 80 8 Foundation 0x000000010a2a0363 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7 9 Foundation 0x000000010a2a01ca -[NSBlockOperation main] + 68 10 Foundation 0x000000010a29e6b2 -[NSOperationInternal _start:] + 766 11 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 12 libdispatch.dylib 0x000000010d457e14 _dispatch_block_invoke_direct + 592 13 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 14 libdispatch.dylib 0x000000010d457e14 _dispatch_block_invoke_direct + 592 15 libdispatch.dylib 0x000000010d457ba4 dispatch_block_perform + 109 16 Foundation 0x000000010a29a75b __NSOQSchedule_f + 337 17 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 18 libdispatch.dylib 0x000000010d458b35 _dispatch_continuation_pop + 967 19 libdispatch.dylib 0x000000010d456fb0 _dispatch_async_redirect_invoke + 780 20 libdispatch.dylib 0x000000010d45e3c8 _dispatch_root_queue_drain + 664 21 libdispatch.dylib 0x000000010d45e0d2 _dispatch_worker_thread3 + 132 22 libsystem_pthread.dylib 0x000000010d97d169 _pthread_wqthread + 1387 23 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 2018-04-30 00:17:46.155415+0200 ChimpKitSampleApp[54674:1742462] [reports] Main Thread Checker: UI API called on a background thread: -[UIAlertView initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:] PID: 54674, TID: 1742462, Thread name: (none), Queue name: NSOperationQueue 0x60400002bee0 (QOS: UNSPECIFIED), QoS: 0 Backtrace: 4 ChimpKitSampleApp 0x00000001076cccaf -[CKSubscribeAlertView showSubscribeError] + 127 5 ChimpKitSampleApp 0x00000001076cd22f 55-[CKSubscribeAlertView alertView:clickedButtonAtIndex:]_block_invoke + 479 6 ChimpKitSampleApp 0x00000001076c8789 -[ChimpKit URLSession:task:didCompleteWithError:] + 553 7 CFNetwork 0x000000010e31e437 51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.207 + 80 8 Foundation 0x000000010a2a0363 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7 9 Foundation 0x000000010a2a01ca -[NSBlockOperation main] + 68 10 Foundation 0x000000010a29e6b2 -[__NSOperationInternal _start:] + 766 11 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 12 libdispatch.dylib 0x000000010d457e14 _dispatch_block_invoke_direct + 592 13 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 14 libdispatch.dylib 0x000000010d457e14 _dispatch_block_invoke_direct + 592 15 libdispatch.dylib 0x000000010d457ba4 dispatch_block_perform + 109 16 Foundation 0x000000010a29a75b NSOQSchedule_f + 337 17 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 18 libdispatch.dylib 0x000000010d458b35 _dispatch_continuation_pop + 967 19 libdispatch.dylib 0x000000010d456fb0 _dispatch_async_redirect_invoke + 780 20 libdispatch.dylib 0x000000010d45e3c8 _dispatch_root_queue_drain + 664 21 libdispatch.dylib 0x000000010d45e0d2 _dispatch_worker_thread3 + 132 22 libsystem_pthread.dylib 0x000000010d97d169 _pthread_wqthread + 1387 23 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 2018-04-30 00:17:52.062559+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819eb0f -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2290 5 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 6 UIKit 0x00000001087a24d3 -[_UILabelLayer layoutSublayers] + 55 7 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 8 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 9 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 10 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 11 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 12 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 13 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 14 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.064032+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819eb0f -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2290 5 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 6 UIKit 0x00000001087a24d3 -[_UILabelLayer layoutSublayers] + 55 7 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 8 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 9 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 10 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 11 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 12 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 13 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 14 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.065252+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819eb0f -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2290 5 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 6 UIKit 0x00000001087a24d3 -[_UILabelLayer layoutSublayers] + 55 7 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 8 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 9 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 10 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 11 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 12 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 13 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 14 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.066496+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x0000000108189c17 -[UIView(Hierarchy) layoutSubviews] + 272 5 UIKit 0x0000000108dfab59 -[_UIDimmingKnockoutBackdropView layoutSubviews] + 48 6 UIKit 0x000000010819e808 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1515 7 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 8 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 9 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 10 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 11 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 12 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 13 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 14 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 15 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.067406+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819e09e -[UIView(CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 167 5 UIKit 0x000000010819e848 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1579 6 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 7 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 8 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 9 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 10 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 11 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 12 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 13 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 14 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.068232+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819eb0f -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2290 5 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 6 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 7 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 8 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 9 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 10 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 11 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 12 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 13 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 )
Main Thread Checker: UI API called on a background thread: -[UIAlertView initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:] PID: 54674, TID: 1742462, Thread name: (none), Queue name: NSOperationQueue 0x60400002bee0 (QOS: UNSPECIFIED), QoS: 0 Backtrace: 4 ChimpKitSampleApp 0x00000001076cccaf -[CKSubscribeAlertView showSubscribeError] + 127 5 ChimpKitSampleApp 0x00000001076cd22f 55-[CKSubscribeAlertView alertView:clickedButtonAtIndex:]_block_invoke + 479 6 ChimpKitSampleApp 0x00000001076c8789 -[ChimpKit URLSession:task:didCompleteWithError:] + 553 7 CFNetwork 0x000000010e31e437 51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.207 + 80 8 Foundation 0x000000010a2a0363 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7 9 Foundation 0x000000010a2a01ca -[NSBlockOperation main] + 68 10 Foundation 0x000000010a29e6b2 -[NSOperationInternal _start:] + 766 11 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 12 libdispatch.dylib 0x000000010d457e14 _dispatch_block_invoke_direct + 592 13 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 14 libdispatch.dylib 0x000000010d457e14 _dispatch_block_invoke_direct + 592 15 libdispatch.dylib 0x000000010d457ba4 dispatch_block_perform + 109 16 Foundation 0x000000010a29a75b __NSOQSchedule_f + 337 17 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 18 libdispatch.dylib 0x000000010d458b35 _dispatch_continuation_pop + 967 19 libdispatch.dylib 0x000000010d456fb0 _dispatch_async_redirect_invoke + 780 20 libdispatch.dylib 0x000000010d45e3c8 _dispatch_root_queue_drain + 664 21 libdispatch.dylib 0x000000010d45e0d2 _dispatch_worker_thread3 + 132 22 libsystem_pthread.dylib 0x000000010d97d169 _pthread_wqthread + 1387 23 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 2018-04-30 00:17:46.155415+0200 ChimpKitSampleApp[54674:1742462] [reports] Main Thread Checker: UI API called on a background thread: -[UIAlertView initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:] PID: 54674, TID: 1742462, Thread name: (none), Queue name: NSOperationQueue 0x60400002bee0 (QOS: UNSPECIFIED), QoS: 0 Backtrace: 4 ChimpKitSampleApp 0x00000001076cccaf -[CKSubscribeAlertView showSubscribeError] + 127 5 ChimpKitSampleApp 0x00000001076cd22f 55-[CKSubscribeAlertView alertView:clickedButtonAtIndex:]_block_invoke + 479 6 ChimpKitSampleApp 0x00000001076c8789 -[ChimpKit URLSession:task:didCompleteWithError:] + 553 7 CFNetwork 0x000000010e31e437 51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.207 + 80 8 Foundation 0x000000010a2a0363 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7 9 Foundation 0x000000010a2a01ca -[NSBlockOperation main] + 68 10 Foundation 0x000000010a29e6b2 -[__NSOperationInternal _start:] + 766 11 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 12 libdispatch.dylib 0x000000010d457e14 _dispatch_block_invoke_direct + 592 13 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 14 libdispatch.dylib 0x000000010d457e14 _dispatch_block_invoke_direct + 592 15 libdispatch.dylib 0x000000010d457ba4 dispatch_block_perform + 109 16 Foundation 0x000000010a29a75b NSOQSchedule_f + 337 17 libdispatch.dylib 0x000000010d452848 _dispatch_client_callout + 8 18 libdispatch.dylib 0x000000010d458b35 _dispatch_continuation_pop + 967 19 libdispatch.dylib 0x000000010d456fb0 _dispatch_async_redirect_invoke + 780 20 libdispatch.dylib 0x000000010d45e3c8 _dispatch_root_queue_drain + 664 21 libdispatch.dylib 0x000000010d45e0d2 _dispatch_worker_thread3 + 132 22 libsystem_pthread.dylib 0x000000010d97d169 _pthread_wqthread + 1387 23 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 2018-04-30 00:17:52.062559+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819eb0f -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2290 5 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 6 UIKit 0x00000001087a24d3 -[_UILabelLayer layoutSublayers] + 55 7 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 8 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 9 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 10 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 11 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 12 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 13 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 14 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.064032+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819eb0f -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2290 5 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 6 UIKit 0x00000001087a24d3 -[_UILabelLayer layoutSublayers] + 55 7 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 8 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 9 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 10 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 11 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 12 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 13 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 14 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.065252+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819eb0f -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2290 5 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 6 UIKit 0x00000001087a24d3 -[_UILabelLayer layoutSublayers] + 55 7 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 8 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 9 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 10 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 11 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 12 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 13 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 14 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.066496+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x0000000108189c17 -[UIView(Hierarchy) layoutSubviews] + 272 5 UIKit 0x0000000108dfab59 -[_UIDimmingKnockoutBackdropView layoutSubviews] + 48 6 UIKit 0x000000010819e808 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1515 7 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 8 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 9 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 10 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 11 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 12 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 13 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 14 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 15 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.067406+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819e09e -[UIView(CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 167 5 UIKit 0x000000010819e848 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1579 6 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 7 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 8 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 9 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 10 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 11 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 12 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 13 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 14 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 ) 2018-04-30 00:17:52.068232+0200 ChimpKitSampleApp[54674:1742462] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. Stack:( 0 Foundation 0x000000010a4acdf7 _AssertAutolayoutOnAllowedThreadsOnly + 77 1 Foundation 0x000000010a4acaba -[NSISEngine _optimizeWithoutRebuilding] + 61 2 Foundation 0x000000010a2bd639 -[NSISEngine optimize] + 108 3 Foundation 0x000000010a4aa01d -[NSISEngine performPendingChangeNotifications] + 84 4 UIKit 0x000000010819eb0f -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2290 5 QuartzCore 0x0000000107ac161a -[CALayer layoutSublayers] + 177 6 QuartzCore 0x0000000107ac582b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395 7 QuartzCore 0x0000000107a4c29f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343 8 QuartzCore 0x0000000107a79940 _ZN2CA11Transaction6commitEv + 568 9 QuartzCore 0x0000000107a7a005 _ZN2CA11Transaction14release_threadEPv + 213 10 libsystem_pthread.dylib 0x000000010d97f1aa _pthread_tsd_cleanup + 534 11 libsystem_pthread.dylib 0x000000010d97eee9 _pthread_exit + 79 12 libsystem_pthread.dylib 0x000000010d97d24b _pthread_wqthread + 1613 13 libsystem_pthread.dylib 0x000000010d97cbe9 start_wqthread + 13 )