iOS - Exception setting text to UILabel property - ios

I am facing a strange issue in one of my View Controllers, Every thing works fine and loads fine but when ever i set a Value to the View i get an Exception related to layer. However i am not setting any properties to the Layer either in Interface Builder or in the Code. Below is the Log that i receive which right now makes no sense to me
-[__NSCFNumber length]: unrecognized selector sent to instance 0x923a4e0
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber length]: unrecognized selector sent to instance 0x923a4e0'
*** First throw call stack:
(
0 CoreFoundation 0x01ef31e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x01bf08e5 objc_exception_throw + 44
2 CoreFoundation 0x01f90243 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x01ee350b ___forwarding___ + 1019
4 CoreFoundation 0x01ee30ee _CF_forwarding_prep_0 + 14
5 UIKit 0x00a6d463 -[UILabel _shadow] + 45
6 UIKit 0x00a6e8c2 -[UILabel drawTextInRect:] + 70
7 UIKit 0x00a70dfc -[UILabel drawRect:] + 98
8 UIKit 0x0091f453 -[UIView(CALayerDelegate) drawLayer:inContext:] + 504
9 QuartzCore 0x00213f39 -[CALayer drawInContext:] + 123
10 QuartzCore 0x00213e6a _ZL16backing_callbackP9CGContextPv + 96
11 QuartzCore 0x001024fc CABackingStoreUpdate_ + 2656
12 QuartzCore 0x00213e02 ___ZN2CA5Layer8display_Ev_block_invoke + 93
13 QuartzCore 0x002482d7 x_blame_allocations + 15
14 QuartzCore 0x00213c6d _ZN2CA5Layer8display_Ev + 1519
15 QuartzCore 0x00213eb9 -[CALayer _display] + 33
16 QuartzCore 0x00213676 _ZN2CA5Layer7displayEv + 144
17 QuartzCore 0x00213e93 -[CALayer display] + 33
18 QuartzCore 0x00210fb7 -[CALayer displayIfNeeded] + 57
19 QuartzCore 0x002113b1 -[CALayer renderInContext:] + 192
20 QuartzCore 0x00213376 -[CALayer _renderSublayersInContext:] + 413
21 QuartzCore 0x002118bc -[CALayer renderInContext:] + 1483
22 QuartzCore 0x00213376 -[CALayer _renderSublayersInContext:] + 413
23 QuartzCore 0x002118bc -[CALayer renderInContext:] + 1483
24 QuartzCore 0x00213376 -[CALayer _renderSublayersInContext:] + 413
25 QuartzCore 0x002118bc -[CALayer renderInContext:] + 1483
26 SilverStar 0x00011fad -[UIView(ABExtras) imageInNavController:] + 525
27 SilverStar 0x00013005 -[CubeNavigationController pushViewController:animated:] + 549
28 SilverStar 0x0000c936 -[MSArticleViewController detailsbuttonTapped:] + 438
29 libobjc.A.dylib 0x01c02880 -[NSObject performSelector:withObject:withObject:] + 77
30 UIKit 0x008b23b9 -[UIApplication sendAction:to:from:forEvent:] + 108
31 UIKit 0x008b2345 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 61
32 UIKit 0x009b3bd1 -[UIControl sendAction:to:forEvent:] + 66
33 UIKit 0x009b3fc6 -[UIControl _sendActionsForEvents:withEvent:] + 577
34 UIKit 0x009b3243 -[UIControl touchesEnded:withEvent:] + 641
35 UIKit 0x00c482e3 _UIGestureRecognizerUpdate + 7166
36 UIKit 0x008f1a5a -[UIWindow _sendGesturesForEvent:] + 1291
37 UIKit 0x008f2971 -[UIWindow sendEvent:] + 1021
38 UIKit 0x008c45f2 -[UIApplication sendEvent:] + 242
39 UIKit 0x008ae353 _UIApplicationHandleEventQueue + 11455
40 CoreFoundation 0x01e7c77f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
41 CoreFoundation 0x01e7c10b __CFRunLoopDoSources0 + 235
42 CoreFoundation 0x01e991ae __CFRunLoopRun + 910
43 CoreFoundation 0x01e989d3 CFRunLoopRunSpecific + 467
44 CoreFoundation 0x01e987eb CFRunLoopRunInMode + 123
45 GraphicsServices 0x036c25ee GSEventRunModal + 192
46 GraphicsServices 0x036c242b GSEventRun + 104
47 UIKit 0x008b0f9b UIApplicationMain + 1225
Note: I am not sure which Code Section you might require. So, Let me know i will add in the Question here

You are passing NSNumber instead of NSString. Try this:
NSString *myString = [aNumber stringValue]; // aNumber is a NSNumber
self.label.text = myString
Hope this helps.. :)

Related

Unable to understand the Crash Logs

I have a view,which consists a UIScrollView on which subviews would added in viewDidLoad after adding all subviews & after the execution of all custom methods it goes to viewWillappear,after that it crashes with the following traces:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString CIImage]: unrecognized selector sent to instance 0x7db5bb80'
*** First throw call stack:
(
0 CoreFoundation 0x04614946 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x0429da97 objc_exception_throw + 44
2 CoreFoundation 0x0461c5c5 -[NSObject(NSObject) doesNotRecognizeSelector:] + 277
3 CoreFoundation 0x045653e7 ___forwarding___ + 1047
4 CoreFoundation 0x04564fae _CF_forwarding_prep_0 + 14
5 UIKit 0x02b589f1 -[UIImageView _shouldDrawImage:] + 33
6 UIKit 0x02b58aa2 -[UIImageView _canDrawContent] + 164
7 UIKit 0x02a2f750 -[UIView(Internal) _shouldInheritScreenScaleAsContentScaleFactor] + 83
8 UIKit 0x02a2f7e9 -[UIView(Internal) _applyScreenScaleToContentScaleFactorIfNotSpecifiedByDeveloper] + 35
9 UIKit 0x02a2f56e -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1628
10 UIKit 0x02b5d762 -[UIImageView _didMoveFromWindow:toWindow:] + 65
11 UIKit 0x02a2f23f -[UIView(Internal) _didMoveFromWindow:toWindow:] + 813
12 UIKit 0x02a423e1 -[UIScrollView _didMoveFromWindow:toWindow:] + 65
13 UIKit 0x02a2f23f -[UIView(Internal) _didMoveFromWindow:toWindow:] + 813
14 UIKit 0x02a2f23f -[UIView(Internal) _didMoveFromWindow:toWindow:] + 813
15 UIKit 0x02a26517 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 154
16 UIKit 0x02a26475 -[UIView(Hierarchy) _postMovedFromSuperview:] + 458
17 UIKit 0x02a31f0d -[UIView(Internal) _addSubview:positioned:relativeTo:] + 2018
18 UIKit 0x02a2486e -[UIView(Hierarchy) addSubview:] + 56
19 UIKit 0x0299d0fa __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 1849
20 UIKit 0x02a2b7af +[UIView(Animation) performWithoutAnimation:] + 82
21 UIKit 0x0299c5a6 -[_UINavigationParallaxTransition animateTransition:] + 1204
22 UIKit 0x02b2b64d -[UINavigationController _startCustomTransition:] + 3765
23 UIKit 0x02b38726 -[UINavigationController _startDeferredTransitionIfNeeded:] + 712
24 UIKit 0x02b39372 -[UINavigationController __viewWillLayoutSubviews] + 57
25 UIKit 0x02cad04c -[UILayoutContainerView layoutSubviews] + 213
26 UIKit 0x02a34dd1 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 608
27 libobjc.A.dylib 0x042b3771 -[NSObject performSelector:withObject:] + 70
28 QuartzCore 0x0215928f -[CALayer layoutSublayers] + 152
29 QuartzCore 0x0214d115 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 397
30 QuartzCore 0x0214cf70 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26
31 QuartzCore 0x020ab3c6 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 284
32 QuartzCore 0x020ac78c _ZN2CA11Transaction6commitEv + 392
33 QuartzCore 0x020ace58 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92
34 CoreFoundation 0x045379de __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
35 CoreFoundation 0x04537920 __CFRunLoopDoObservers + 400
36 CoreFoundation 0x0452d35a __CFRunLoopRun + 1226
37 CoreFoundation 0x0452cbcb CFRunLoopRunSpecific + 443
38 CoreFoundation 0x0452c9fb CFRunLoopRunInMode + 123
39 GraphicsServices 0x05e6b24f GSEventRunModal + 192
40 GraphicsServices 0x05e6b08c GSEventRun + 104
41 UIKit 0x029a98b6 UIApplicationMain + 1526
42 POPCorn 0x000e9472 main + 130
43 libdyld.dylib 0x06193ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString CIImage]: unrecognized selector sent to instance 0x7db5bb80'
You're accessing the CIImage property of an NSString (perhaps its id and you just accessed this property thinking that the id object was a UIImage). Search for CIImage in your class and make sure the object you're getting the property from is an actual UIImage.
If you want to find out where the actual line of code that is causing i suggest creating an exception breakpoint. You can do this by going to the breakpoints tab and adding one for all exceptions. This along with the log you should see what you are passing an invalid argument to.

Change the text of UINavigationController not working in Swift

I have an app which has 5 UIViewControllers and the rootViewController is attached to a UINavigationController and the others are connected by segues. Now, I want to add a title to the UINavigationController. I have tried different things in viewDidLoad and viewDidAppear:
self.text = "Hello" // Runtime Error
self.navigationController?.navigationBar.topItem?.title = "Hello" // Runtime Error
self.navigationController?.visibleViewController.title = "Hello" // Runtime Error
The UIViewController that I am calling this is like this:
class LoginTypeActivityViewController: PPViewController{
}
Where, PPViewController is declared like this:
class PPViewController: UIViewController{
}
The runtime error is:
2014-10-13 17:21:27.878 mobilepay[29387:1382271] -[Swift._NSContiguousString set]: unrecognized selector sent to instance 0x7b6b33d0
2014-10-13 17:21:27.881 mobilepay[29387:1382271] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Swift._NSContiguousString set]: unrecognized selector sent to instance 0x7b6b33d0'
*** First throw call stack:
(
0 CoreFoundation 0x00bb5df6 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x0083fa97 objc_exception_throw + 44
2 CoreFoundation 0x00bbda75 -[NSObject(NSObject) doesNotRecognizeSelector:] + 277
3 CoreFoundation 0x00b069c7 ___forwarding___ + 1047
4 CoreFoundation 0x00b0658e _CF_forwarding_prep_0 + 14
5 UIFoundation 0x067eeb91 __NSStringDrawingEngine + 29221
6 UIFoundation 0x067e784d -[NSString(NSExtendedStringDrawing) drawWithRect:options:attributes:context:] + 171
7 UIKit 0x013be151 -[UILabel _drawTextInRect:baselineCalculationOnly:] + 6626
8 UIKit 0x013bbe30 -[UILabel drawTextInRect:] + 581
9 UIKit 0x013be256 -[UILabel drawRect:] + 98
10 UIKit 0x0123354b -[UIView(CALayerDelegate) drawLayer:inContext:] + 519
11 QuartzCore 0x01077d51 -[CALayer drawInContext:] + 118
12 QuartzCore 0x01077c87 _ZL16backing_callbackP9CGContextPv + 96
13 QuartzCore 0x00f5c7ae CABackingStoreUpdate_ + 2788
14 QuartzCore 0x01077c1f ___ZN2CA5Layer8display_Ev_block_invoke + 93
15 QuartzCore 0x010ad406 x_blame_allocations + 15
16 QuartzCore 0x01077a85 _ZN2CA5Layer8display_Ev + 1591
17 QuartzCore 0x01077cd6 -[CALayer _display] + 33
18 QuartzCore 0x01077446 _ZN2CA5Layer7displayEv + 142
19 QuartzCore 0x01077cb0 -[CALayer display] + 33
20 QuartzCore 0x0106bee6 _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 322
21 QuartzCore 0x0106bf6c _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 38
22 QuartzCore 0x00fca676 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 284
23 QuartzCore 0x00fcba3c _ZN2CA11Transaction6commitEv + 392
24 QuartzCore 0x00fcc108 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92
25 CoreFoundation 0x00ad8fbe __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
26 CoreFoundation 0x00ad8f00 __CFRunLoopDoObservers + 400
27 CoreFoundation 0x00ace93a __CFRunLoopRun + 1226
28 CoreFoundation 0x00ace1ab CFRunLoopRunSpecific + 443
29 CoreFoundation 0x00acdfdb CFRunLoopRunInMode + 123
30 GraphicsServices 0x0317124f GSEventRunModal + 192
31 GraphicsServices 0x0317108c GSEventRun + 104
32 UIKit 0x011a8e16 UIApplicationMain + 1526
33 mobilepay 0x001410de top_level_code + 78
34 mobilepay 0x0014111b main + 43
35 libdyld.dylib 0x03ad7ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
What can be the error? I am stuck since the last 5 hours here.
I am trying to set the title different in different UIViewControllers.
In your viewDidLoad(), type:
title = "Hello World"

I got this issue "Terminating with uncaught exception of type NSException" with my execution, can anybody help me with this?

Can I get helped with the below issue? I'm struck over here. While executing the code I'm getting this log. I couldn't find the solution for it. I tried it for the whole day but couldn't find the solution for it.
2014-05-29 10:34:35.723 Timesheet[14438:60b] -[UITableViewCell setAlternateRowColor:]: unrecognized selector sent to instance 0x8f98a70
2014-05-29 10:34:35.764 Timesheet[14438:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewCell setAlternateRowColor:]: unrecognized selector sent to instance 0x8f98a70'
*** First throw call stack:
(
0 CoreFoundation 0x0180a1e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x015898e5 objc_exception_throw + 44
2 CoreFoundation 0x018a7243 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x017fa50b ___forwarding___ + 1019
4 CoreFoundation 0x017fa0ee _CF_forwarding_prep_0 + 14
5 Timesheet 0x00002e13 -[ViewController tableView:cellForRowAtIndexPath:] + 691
6 UIKit 0x0034211f -[UITableView _createPreparedCellForGlobalRow:withIndexPath:] + 412
7 UIKit 0x003421f3 -[UITableView _createPreparedCellForGlobalRow:] + 69
8 UIKit 0x00323ece -[UITableView _updateVisibleCellsNow:] + 2428
9 UIKit 0x003386a5 -[UITableView layoutSubviews] + 213
10 UIKit 0x002b8964 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355
11 libobjc.A.dylib 0x0159b82b -[NSObject performSelector:withObject:] + 70
12 QuartzCore 0x03c7545a -[CALayer layoutSublayers] + 148
13 QuartzCore 0x03c69244 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380
14 QuartzCore 0x03c77885 -[CALayer(CALayerPrivate) layoutBelowIfNeeded] + 43
15 UIKit 0x002ab026 -[UIView(Hierarchy) layoutBelowIfNeeded] + 595
16 UIKit 0x002aadcd -[UIView(Hierarchy) layoutIfNeeded] + 74
17 UIKit 0x0038e744 -[UINavigationController _layoutViewController:] + 1062
18 UIKit 0x0038d966 -[UINavigationController _layoutTopViewController] + 176
19 UIKit 0x0038bb95 -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 429
20 UIKit 0x0058f74e -[UINavigationTransitionView _notifyDelegateTransitionDidStopWithContext:] + 328
21 UIKit 0x0058fa53 -[UINavigationTransitionView _cleanupTransition] + 703
22 UIKit 0x0058fa92 -[UINavigationTransitionView _navigationTransitionDidStop] + 55
23 UIKit 0x002996dc -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 267
24 UIKit 0x00297ec5 +[UIViewAnimationState popAnimationState] + 334
25 UIKit 0x002ad123 +[UIView(Animation) commitAnimations] + 36
26 UIKit 0x0058f551 -[UINavigationTransitionView transition:fromView:toView:] + 2795
27 UIKit 0x0058ea5e -[UINavigationTransitionView transition:toView:] + 55
28 UIKit 0x0038f577 -[UINavigationController _startTransition:fromViewController:toViewController:] + 3186
29 UIKit 0x0038f8cc -[UINavigationController _startDeferredTransitionIfNeeded:] + 645
30 UIKit 0x003904e9 -[UINavigationController __viewWillLayoutSubviews] + 57
31 UIKit 0x004d10d1 -[UILayoutContainerView layoutSubviews] + 213
32 UIKit 0x002b8964 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355
33 libobjc.A.dylib 0x0159b82b -[NSObject performSelector:withObject:] + 70
34 QuartzCore 0x03c7545a -[CALayer layoutSublayers] + 148
35 QuartzCore 0x03c69244 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380
36 QuartzCore 0x03c753a5 -[CALayer layoutIfNeeded] + 160
37 UIKit 0x0037aae3 -[UIViewController window:setupWithInterfaceOrientation:] + 304
38 UIKit 0x00290aa7 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 5212
39 UIKit 0x0028f646 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 82
40 UIKit 0x0028f518 -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 117
41 UIKit 0x0028f5a0 -[UIWindow _setRotatableViewOrientation:duration:force:] + 67
42 UIKit 0x0028e63a __57-[UIWindow _updateToInterfaceOrientation:duration:force:]_block_invoke + 120
43 UIKit 0x0028e59c -[UIWindow _updateToInterfaceOrientation:duration:force:] + 400
44 UIKit 0x0028f2f3 -[UIWindow setAutorotates:forceUpdateInterfaceOrientation:] + 870
45 UIKit 0x002928e6 -[UIWindow setDelegate:] + 449
46 UIKit 0x0036cb77 -[UIViewController _tryBecomeRootViewControllerInWindow:] + 180
47 UIKit 0x00288474 -[UIWindow addRootViewControllerViewIfPossible] + 591
48 UIKit 0x002885ef -[UIWindow _setHidden:forced:] + 312
49 UIKit 0x0028886b -[UIWindow _orderFrontWithoutMakingKey] + 49
50 UIKit 0x002933c8 -[UIWindow makeKeyAndVisible] + 65
51 UIKit 0x00243bc0 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 2097
52 UIKit 0x00248667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824
53 UIKit 0x0025cf92 -[UIApplication handleEvent:withNewEvent:] + 3517
54 UIKit 0x0025d555 -[UIApplication sendEvent:] + 85
55 UIKit 0x0024a250 _UIApplicationHandleEvent + 683
56 GraphicsServices 0x037fff02 _PurpleEventCallback + 776
57 GraphicsServices 0x037ffa0d PurpleEventCallback + 46
58 CoreFoundation 0x01785ca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
59 CoreFoundation 0x017859db __CFRunLoopDoSource1 + 523
60 CoreFoundation 0x017b068c __CFRunLoopRun + 2156
61 CoreFoundation 0x017af9d3 CFRunLoopRunSpecific + 467
62 CoreFoundation 0x017af7eb CFRunLoopRunInMode + 123
63 UIKit 0x00247d9c -[UIApplication _run] + 840
64 UIKit 0x00249f9b UIApplicationMain + 1225
65 Timesheet 0x0000b60d main + 141
66 libdyld.dylib 0x01eeb701 start + 1
67 ??? 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Have you looked into:
2014-05-29 10:34:35.723 Timesheet[14438:60b] -[UITableViewCell setAlternateRowColor:]
?
setAlternateRowColor is not a valid setter on UITableViewCell. without seeing the code it's difficult to guess what the error might be, but you are using the cell improperly.

ios fatal exception error - NSInvalidArgumentException NSInvalidArgumentException

I got crash issue from Crashlytics.
UIKit
-[UIView(Internal) _addSubview:positioned:relativeTo:]
Fatal Exception: NSInvalidArgumentException NSInvalidArgumentException
Can't add self as subview
Thread : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x2e9a0f4b __exceptionPreprocess + 130
1 libobjc.A.dylib 0x391376af objc_exception_throw + 38
2 CoreFoundation 0x2e9a0e8d -[NSException initWithCoder:]
3 UIKit 0x3111f48f -[UIView(Internal) _addSubview:positioned:relativeTo:] + 110
4 UIKit 0x3111f417 -[UIView(Hierarchy) addSubview:] + 30
5 UIKit 0x312e7c2f __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 1402
6 UIKit 0x311256e5 +[UIView(Animation) performWithoutAnimation:] + 72
7 UIKit 0x312e7479 -[_UINavigationParallaxTransition animateTransition:] + 728
8 UIKit 0x312a4ba7 -[UINavigationController _startCustomTransition:] + 2614
9 UIKit 0x311c2273 -[UINavigationController _startDeferredTransitionIfNeeded:] + 418
10 UIKit 0x311c207d -[UINavigationController __viewWillLayoutSubviews] + 44
11 UIKit 0x311c2015 -[UILayoutContainerView layoutSubviews] + 184
12 UIKit 0x31113da3 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 346
13 QuartzCore 0x30d9ac6b -[CALayer layoutSublayers] + 142
14 QuartzCore 0x30d9647b CA::Layer::layout_if_needed(CA::Transaction*) + 350
15 QuartzCore 0x30d9630d CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 16
16 QuartzCore 0x30d95d1f CA::Context::commit_transaction(CA::Transaction*) + 230
17 QuartzCore 0x30d95b2f CA::Transaction::commit() + 314
18 QuartzCore 0x30d8f85d CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 56
19 CoreFoundation 0x2e96c1cd
20 CoreFoundation 0x2e969b71 __CFRunLoopDoObservers + 284
21 CoreFoundation 0x2e969eb3 __CFRunLoopRun + 730
22 CoreFoundation 0x2e8d4c27 CFRunLoopRunSpecific + 522
23 CoreFoundation 0x2e8d4a0b CFRunLoopRunInMode + 106
24 GraphicsServices 0x335c8283 GSEventRunModal + 138
25 UIKit 0x31178049 UIApplicationMain + 1136
26 Tapastic 0x000764ef main (main.m:16)
27 Tapastic 0x00075bf0 start
I cannot find where this crash happened in codes. So how can I find where this crash is and fix it? Please let me know. Thanks in advance.

UIkit crashes also not able to reproduce

Thread 0: Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x3a6285b0 objc_msgSend + 15
1 UIKit 0x348285f5 -[UINavigationController _startTransition:fromViewController:toViewController:] + 92
2 UIKit 0x348284c1 -[UINavigationController _startDeferredTransitionIfNeeded:] + 324
3 UIKit 0x347f94e9 -[UILayoutContainerView layoutSubviews] + 180
4 UIKit 0x347b8803 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 258
5 QuartzCore 0x34562d8b -[CALayer layoutSublayers] + 214
6 QuartzCore 0x34562929 CA::Layer::layout_if_needed(CA::Transaction*) + 460
7 QuartzCore 0x3456385d CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 16
8 QuartzCore 0x34563243 CA::Context::commit_transaction(CA::Transaction*) + 238
9 QuartzCore 0x34563051 CA::Transaction::commit() + 316
10 UIKit 0x34988369 -[UIApplication _sendOrderedOutContextsAndInvalidate:] + 112
11 UIKit 0x3483863f orderOutContextObserverCallout + 34
12 CoreFoundation 0x329826cd __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
13 CoreFoundation 0x329809c1 __CFRunLoopDoObservers + 276
14 CoreFoundation 0x32980c91 __CFRunLoopRun + 608
15 CoreFoundation 0x328f3ebd CFRunLoopRunSpecific + 356
16 CoreFoundation 0x328f3d49 CFRunLoopRunInMode + 104
17 GraphicsServices 0x364a62eb GSEventRunModal + 74
18 UIKit 0x34809301 UIApplicationMain + 1120
19 test 0x000f610f main (main.m:16)
I get this error in my crashlytics but not able to reproduce this error. Can any one help me to solve this how can i get rid of this crash.

Resources