UIViewController.init(rootViewController:) crash - ios

my App does crash on every UIViewController.init(rootViewController:) call.
If I replace it with:
let nav = UINavigationController.init()
nav.addChildViewController(vc)
Then it works, but I can't change my dependencies. So I need a proper fix for this.
Example code:
func showSettingScreen() {
let vc = MAIN_STORYBOARD().instantiateViewController(withIdentifier: "SettingViewController")
self.window?.rootViewController?.present(UINavigationController(rootViewController: vc), animated: true, completion: nil)
}
Crash:
2018-10-30 08:43:14.360304+0100 App[16881:5287132] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b75129b __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010a55f735 objc_exception_throw + 48
2 CoreFoundation 0x000000010b62b20d -[__NSArray0 objectAtIndex:] + 93
3 libswiftCore.dylib 0x000000010be93cb2 $Ss12_ArrayBufferV19_getElementSlowPathyyXlSiF + 146
4 libswiftCore.dylib 0x000000010bead0b6 $SSa11_getElement_20wasNativeTypeChecked22matchingSubscriptCheckxSi_Sbs16_DependenceTokenVtF + 118
5 libswiftCore.dylib 0x000000010beacf92 $SSayxSicig + 130
6 App 0x00000001034a2c84 $SSo22UINavigationControllerC5AppE28setNeedsNavigationBackground33_B4C9FD2C89DE46C2041196DCEE1BF2ACLL5alphay12CoreGraphics7CGFloatV_tF + 244
7 App 0x00000001034a52b5 $SSo22UINavigationControllerC5AppE13navigationBar_10shouldPushSbSo0aE0C_So0A4ItemCtF + 229
8 App 0x00000001034a53e1 $SSo22UINavigationControllerC5AppE13navigationBar_10shouldPushSbSo0aE0C_So0A4ItemCtFTo + 81
9 UIKitCore 0x000000011353d797 -[UINavigationBar _pushNavigationItem:transitionAssistant:] + 128
10 UIKitCore 0x000000011353d0af -[UINavigationBar _pushNavigationItemUsingCurrentTransition:] + 368
11 UIKitCore 0x000000011353d214 -[UINavigationBar pushNavigationItem:animated:] + 179
12 UIKitCore 0x0000000113537a50 -[UINavigationBar _performUpdatesIgnoringLock:] + 45
13 UIKitCore 0x000000011353d30b -[UINavigationBar _pushNavigationItem:transition:] + 133
14 UIKitCore 0x000000011356de53 __71-[UINavigationController pushViewController:transition:forceImmediate:]_block_invoke + 363
15 UIKitCore 0x000000011356c040 -[UINavigationController _executeNavigationHandler:deferred:] + 290
16 UIKitCore 0x000000011356dbcf -[UINavigationController pushViewController:transition:forceImmediate:] + 2083
17 UIKitCore 0x000000011356d12e -[UINavigationController pushViewController:animated:] + 681
18 UIKitCore 0x000000011354cc9d -[UINavigationController initWithRootViewController:] + 123
19 App 0x000000010337505f $SSo22UINavigationControllerC08rootViewB0ABSo06UIViewB0C_tcfcTO + 31
20 App 0x0000000103364ff7 $SSo22UINavigationControllerC08rootViewB0ABSo06UIViewB0C_tcfC + 39
21 App 0x0000000103364f72 $S5App11AppDelegateC17showSettingScreenyyF + 434
22 App 0x00000001033e328e $S5App22SideMenuViewControllerC05tableD0_14didSelectRowAtySo07UITableD0C_10Foundation9IndexPathVtF + 2910
23 App 0x00000001033e34bb $S5App22SideMenuViewControllerC05tableD0_14didSelectRowAtySo07UITableD0C_10Foundation9IndexPathVtFTo + 107
24 UIKitCore 0x00000001137d3d29 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1813
25 UIKitCore 0x00000001137d3f44 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 344
26 UIKitCore 0x000000011328a97e _runAfterCACommitDeferredBlocks + 318
27 UIKitCore 0x0000000113279424 _cleanUpAfterCAFlushAndRunDeferredBlocks + 384
28 UIKitCore 0x00000001132a8870 _afterCACommitHandler + 135
29 CoreFoundation 0x000000010b6b4037 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
30 CoreFoundation 0x000000010b6ae4ce __CFRunLoopDoObservers + 430
31 CoreFoundation 0x000000010b6aeb61 __CFRunLoopRun + 1537
32 CoreFoundation 0x000000010b6ae221 CFRunLoopRunSpecific + 625
33 GraphicsServices 0x000000010dad91dd GSEventRunModal + 62
34 UIKitCore 0x000000011327f115 UIApplicationMain + 140
35 App 0x0000000103374634 main + 68
36 libdyld.dylib 0x000000010cacf551 start + 1
37 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
It does happen on Simulator and real Device on iOS 12. With iOS 11.4 everything works great.

It appears you are getting an array out of bounds exception which means somewhere your code is accessing a nonexistent index in an array.
Add an exception breakpoint, then recreate the crash. Xcode will then show you where the exception is occurring.

Look at the sentence in the print log of crash:
Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray'.`
This means that an array of your code accesses an element beyond its maximum index value.

Related

iOS - 'RLMException', reason: 'Cannot register notification blocks from within write transactions

I was getting the below crash in test environments only. Crash is not happening at all in production environment. All this happened suddenly without any client code changes. But we had some backend changes related to this module. Not sure why backend change will crash the app without request & response changes.
Unable to find right answers for this. Thanks in advance.
2022-03-17 10:20:01.881908-0700 BuildupStaging[40884:10839248] *** Terminating app due to uncaught exception 'RLMException', reason: 'Cannot register notification blocks from within write transactions.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff20420af6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20177e78 objc_exception_throw + 48
2 Realm 0x0000000104ab6e1d -[RLMRealm verifyNotificationsAreSupported:] + 269
3 Realm 0x0000000104ae4f26 -[RLMResults addNotificationBlock:] + 182
4 BuildupStaging 0x0000000101ec90ca -[ItemsViewController addNotificationTokenForItems] + 234
5 BuildupStaging 0x0000000101ec3fe9 -[ItemsViewController viewDidLoad] + 105
6 UIKitCore 0x00007fff23f5858a -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 88
7 UIKitCore 0x00007fff23f5cef3 -[UIViewController loadViewIfRequired] + 1084
8 UIKitCore 0x00007fff23f5d2dd -[UIViewController view] + 27
9 UIKitCore 0x00007fff23e7ce53 -[UINavigationController _startCustomTransition:] + 1254
10 UIKitCore 0x00007fff23e933f2 -[UINavigationController _startDeferredTransitionIfNeeded:] + 684
11 UIKitCore 0x00007fff23e94804 -[UINavigationController __viewWillLayoutSubviews] + 150
12 UIKitCore 0x00007fff23e74fba -[UILayoutContainerView layoutSubviews] + 217
13 UIKitCore 0x00007fff24bf25b8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2924
14 QuartzCore 0x00007fff27aa2c33 -[CALayer layoutSublayers] + 258
15 QuartzCore 0x00007fff27aa91a5 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 575
16 QuartzCore 0x00007fff27ab4f47 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 65
17 QuartzCore 0x00007fff279f4408 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 496
18 QuartzCore 0x00007fff27a2b1ef _ZN2CA11Transaction6commitEv + 783
19 UIKitCore 0x00007fff246c140f _afterCACommitHandler + 164
20 CoreFoundation 0x00007fff2038e1f8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
21 CoreFoundation 0x00007fff20388a77 __CFRunLoopDoObservers + 547
22 CoreFoundation 0x00007fff2038901a __CFRunLoopRun + 1113
23 CoreFoundation 0x00007fff203886d6 CFRunLoopRunSpecific + 567
24 GraphicsServices 0x00007fff2bededb3 GSEventRunModal + 139
25 UIKitCore 0x00007fff24690e0b -[UIApplication _run] + 912
26 UIKitCore 0x00007fff24695cbc UIApplicationMain + 101
27 BuildupStaging 0x0000000101ebe398 main + 104
28 libdyld.dylib 0x00007fff202593e9 start + 1
29 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'RLMException', reason: 'Cannot register notification blocks from within write transactions.'
terminating with uncaught exception of type NSException
CoreSimulator 776.3 - Device: iPhone 12 Pro (6FF29258-E765-4B14-8557-9AED4214F2A6) - Runtime: iOS 14.3 (18C61) - DeviceType: iPhone 12 Pro
(lldb)

Terminating with uncaught exception of type NSException Xcode

I have a problem when I follow this tutorial. It doesn't work. Can anyone help me fix this error? This tutorial uses Swift 4, iOS 11, and Xcode 9 but I used iOS 12 and Xcode 10.1. Did that cause the problem? Because I just followed the tutorial correctly.
Here is the error message:
2019-03-09 22:27:39.775603+0700 Ratings[667:8658] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
2019-03-09 22:27:40.020185+0700 Ratings[667:8658] *** Assertion failure in -[UITableView _dequeueReusableCellWithIdentifier:forIndexPath:usingPresentationValues:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3698.93.8/UITableView.m:8054
2019-03-09 22:27:40.062689+0700 Ratings[667:8658] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier PlayerCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
*** First throw call stack:
(
0 CoreFoundation 0x000000010ed561bb __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010d399735 objc_exception_throw + 48
2 CoreFoundation 0x000000010ed55f42 +[NSException raise:format:arguments:] + 98
3 Foundation 0x000000010cd9c877 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4 UIKitCore 0x00000001119ec5b1 -[UITableView _dequeueReusableCellWithIdentifier:forIndexPath:usingPresentationValues:] + 868
5 UIKitCore 0x00000001119ec219 -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:] + 91
6 Ratings 0x000000010ca6f950 $S7Ratings21PlayersViewControllerC05tableC0_12cellForRowAtSo07UITableC4CellCSo0jC0C_10Foundation9IndexPathVtF + 240
7 Ratings 0x000000010ca6fd9c $S7Ratings21PlayersViewControllerC05tableC0_12cellForRowAtSo07UITableC4CellCSo0jC0C_10Foundation9IndexPathVtFTo + 108
8 UIKitCore 0x0000000111a0766e -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 771
9 UIKitCore 0x0000000111a07bfb -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 73
10 UIKitCore 0x00000001119cec36 -[UITableView _updateVisibleCellsNow:isRecursive:] + 2863
11 UIKitCore 0x00000001119ef8ee -[UITableView layoutSubviews] + 165
12 UIKitCore 0x0000000111cad795 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1441
13 QuartzCore 0x0000000113235b19 -[CALayer layoutSublayers] + 175
14 QuartzCore 0x000000011323a9d3 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395
15 QuartzCore 0x00000001131b37ca _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 342
16 QuartzCore 0x00000001131ea97e _ZN2CA11Transaction6commitEv + 576
17 UIKitCore 0x00000001117de2d0 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 139
18 CoreFoundation 0x000000010ecbb62c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
19 CoreFoundation 0x000000010ecbade0 __CFRunLoopDoBlocks + 336
20 CoreFoundation 0x000000010ecb5654 __CFRunLoopRun + 1284
21 CoreFoundation 0x000000010ecb4e11 CFRunLoopRunSpecific + 625
22 GraphicsServices 0x0000000116f541dd GSEventRunModal + 62
23 UIKitCore 0x00000001117c381d UIApplicationMain + 140
24 Ratings 0x000000010ca6e547 main + 71
25 libdyld.dylib 0x00000001102d0575 start + 1
26 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
You can find my source code on my github repo here.
You defined cell identifier as PlayersCell in storyboard.
change it to PlayerCell
Please read the error message carefully. The most significant parts are
unable to dequeue a cell with identifier PlayerCell
and the line before the NSAssertionHandler handleFailureInMethod line which indicates where the error occurs:
0x00000001119ec5b1 -[UITableView _dequeueReusableCellWithIdentifier:forIndexPath:usingPresentationValues:] + 868
It means that the reuse identifier of the table view cell in Interface Builder is not set or doesn't match the identifier specified in cellForRow in your case a simple typo.

Application get crash on launch

My application get crash on launch . It never goes on app didfinish
2015-10-09 15:41:55.396 MÖLLER[11840:574331] Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '
-[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack: ( 0 CoreFoundation 0x026cc746 __exceptionPreprocess + 182 1 libobjc.A.dylib
0x01f9ca97 objc_exception_throw + 44 2 CoreFoundation
0x025c2c93 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
+ 451 3 CoreFoundation 0x025d6b7b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 75 4 MOÃàLLER 0x0004d65b -[TabBarViewController
viewDidLoad] + 3291 5 UIKit
0x00a97db7 -[UITabBarController initWithNibName:bundle:] + 221 6
MOÃàLLER 0x0008984d -[AppDelegate
application:didFinishLaunchingWithOptions:] + 268 7 UIKit
0x008e5f87 -[UIApplication
_handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 287 8 UIKit 0x008e6d71 -[UIApplication
_callInitializationDelegatesForMainScene:transitionContext:] + 2938 9 UIKit 0x008ea3d2 -[UIApplication
_runWithMainScene:transitionContext:completion:] + 1639 10 UIKit 0x009038ee _84-[UIApplication
handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke
+ 59 11 UIKit 0x008e8ffa -[UIApplication workspaceDidEndTransaction:] + 155 12 FrontBoardServices 0x03208c9e __37-[FBSWorkspace
clientEndTransaction:]_block_invoke_2 + 71 13 FrontBoardServices
0x0320872f _40-[FBSWorkspace performDelegateCallOut:]_block_invoke +
54 14 FrontBoardServices 0x0321ad7c
__31-[FBSSerialQueue performAsync:]_block_invoke_2 + 30 15 CoreFoundation 0x025ee050
CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 16 16 CoreFoundation
0x025e3963 __CFRunLoopDoBlocks + 195 17 CoreFoundation
0x025e37bb __CFRunLoopRun + 2715 18 CoreFoundation
0x025e2a5b CFRunLoopRunSpecific + 443 19 CoreFoundation
0x025e288b CFRunLoopRunInMode + 123 20 UIKit
0x008e89b2 -[UIApplication _run] + 571 21 UIKit
0x008ec0b6 UIApplicationMain + 1526 22 MOÃàLLER
0x0006a509 main + 94 23 libdyld.dylib
0x03fe1ac9 start + 1 ) libc++abi.dylib: terminating with uncaught
exception of type NSException (lldb)
the error says
-[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
The error means you are trying to put nil in the dictionary (which is not allowed). Since you are building the dictionaries with string literals those can't be nil.
Finally the issue is resolved. As My Home View Have Ref of Font which we never used in app.

Crash report for iOS App

I am having problem with my in-app purchase section in my app. The problem is only on iPhone 6, 6s and iPad Air. The app is crashing when tapping any in-app purchase.
This is the crash report:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 18446744073709551615 beyond bounds for empty array'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b86ef65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010b241deb objc_exception_throw + 48
2 CoreFoundation 0x000000010b752a94 -[__NSArrayM objectAtIndex:] + 212
3 Chubby Vikings Free 0x0000000106654366 -[MKStoreManager addToQueue:] + 294
4 Chubby Vikings Free 0x0000000106653fde __52-[MKStoreManager buyFeature:onComplete:onCancelled:]_block_invoke + 526
5 Chubby Vikings Free 0x00000001065ac2ae +[MKSKProduct verifyProductForReviewAccess:onComplete:onError:] + 174
6 Chubby Vikings Free 0x0000000106653d46 -[MKStoreManager buyFeature:onComplete:onCancelled:] + 502
7 Chubby Vikings Free 0x00000001065d5a79 -[DBPurchaseManager makePurchase:onComplete:onCancel:] + 313
8 Chubby Vikings Free 0x00000001065e1fd1 -[vShopCoinsPopup clickCoinsPack1:] + 225
9 CoreFoundation 0x000000010b75d85c __invoking___ + 140
10 CoreFoundation 0x000000010b75d6ae -[NSInvocation invoke] + 286
11 Chubby Vikings Free 0x00000001066a0773 -[CCMenuItem activate] + 67
12 Chubby Vikings Free 0x000000010669d80e -[CCMenu ccTouchEnded:withEvent:] + 286
13 Chubby Vikings Free 0x00000001066edfae -[CCTouchDispatcher touches:withEvent:withTouchType:] + 1598
14 Chubby Vikings Free 0x00000001066eea3e -[CCTouchDispatcher touchesEnded:withEvent:] + 78
15 Chubby Vikings Free 0x0000000106670a64 -[CCTouchView touchesEnded:withEvent:] + 84
16 UIKit 0x0000000108b67aa3 -[UIWindow _sendTouchesForEvent:] + 835
17 UIKit 0x0000000108b68691 -[UIWindow sendEvent:] + 865
18 UIKit 0x0000000108b1a752 -[UIApplication sendEvent:] + 263
19 UIKit 0x0000000108af5fcc _UIApplicationHandleEventQueue + 6693
20 CoreFoundation 0x000000010b79b0a1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
21 CoreFoundation 0x000000010b790fcc __CFRunLoopDoSources0 + 556
22 CoreFoundation 0x000000010b790483 __CFRunLoopRun + 867
23 CoreFoundation 0x000000010b78fe98 CFRunLoopRunSpecific + 488
24 GraphicsServices 0x000000010dabbad2 GSEventRunModal + 161
25 UIKit 0x0000000108afb676 UIApplicationMain + 171
26 Chubby Vikings Free 0x00000001065977c4 main + 100
27 libdyld.dylib 0x000000010bd5292d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
The size of the array is zero. So, You tried to call [array objectAtIndex:0]. 0 is beyond the bounds of an empty array (not surprising – anything is beyond the bounds for an empty array).

iOS app crash when keyboard showing on iPad

I have an app which work perfectly on iPhone. But when i starting it on iPad and tap on UITextField it’s crash with error:
Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0]'
*** First throw call stack:
(
0 CoreFoundation 0x032a05e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x02c1e8b6 objc_exception_throw + 44
2 CoreFoundation 0x032414e6 -[__NSArrayM objectAtIndex:] + 246
3 Parking 0x002b0ccd -[UIView(Hackery) pd_swizzled_exchangeSubviewAtIndex:withSubviewAtIndex:] + 141
4 UIKit 0x020a89ef -[_UIBackdropView ensureProperSubviewOrdering] + 666
5 UIKit 0x020a810e -[_UIBackdropView updateSubviewHierarchyIfNeededForSettings:] + 127
6 UIKit 0x020a47dc -[_UIBackdropView setComputesColorSettings:] + 235
7 UIKit 0x01b1c87a -[UIKBBackdropView triggerUpdate:] + 400
8 Foundation 0x028f1bf9 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke + 40
9 CoreFoundation 0x032fc524 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
10 CoreFoundation 0x0325400b _CFXNotificationPost + 2859
11 Foundation 0x0282b951 -[NSNotificationCenter postNotificationName:object:userInfo:] + 98
12 UIKit 0x01e1cb1b -[UIInputViewTransition postNotificationsForTransitionEnd] + 1054
13 UIKit 0x0c69c453 -[UIInputViewTransitionAccessibility(SafeCategory) postNotificationsForTransitionEnd] + 51
14 UIKit 0x01e13138 __53-[UIPeripheralHost(UIKitInternal) executeTransition:]_block_invoke1332 + 455
15 UIKit 0x019ef005 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 306
16 UIKit 0x019d8c6c -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 267
17 UIKit 0x019d8f58 -[UIViewAnimationState animationDidStop:finished:] + 80
18 UIKit 0x0c6a4b67 -[UIViewAnimationStateAccessibility(SafeCategory) animationDidStop:finished:] + 66
19 QuartzCore 0x00821a44 _ZN2CA5Layer23run_animation_callbacksEPv + 304
20 libdispatch.dylib 0x0362b4b0 _dispatch_client_callout + 14
21 libdispatch.dylib 0x0361975e _dispatch_main_queue_callback_4CF + 340
22 CoreFoundation 0x03305a5e __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
23 CoreFoundation 0x032466bb __CFRunLoopRun + 1963
24 CoreFoundation 0x03245ac3 CFRunLoopRunSpecific + 467
25 CoreFoundation 0x032458db CFRunLoopRunInMode + 123
26 GraphicsServices 0x03f7d9e2 GSEventRunModal + 192
27 GraphicsServices 0x03f7d809 GSEventRun + 104
28 UIKit 0x0198cd3b UIApplicationMain + 1225
29 Parking 0x00073cad main + 141
30 libdyld.dylib 0x038bd70d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
I tried comment all my code to find a reason. Even created an empty view controller and add text field to it. But it’s didn't helped. Any idea?
It is an issue with PonyDebugger which has been fixed in the latest release. Use a version >= 0.3.1.
pod 'PonyDebugger', '~> 0.3.1'

Resources