App crash on iOS16 when presenting a QLPreviewController - ios

When I try to present the QLPreviewController, the app crashes, and I can see the log as shown below.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]'
*** First throw call stack:
(
0 CoreFoundation 0x000000011a0d2378 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00000001171bebaf objc_exception_throw + 48
2 CoreFoundation 0x000000011a159641 -[__NSCFString characterAtIndex:].cold.1 + 0
3 CoreFoundation 0x000000011a163d66 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.5 + 0
4 CoreFoundation 0x000000011a144c7f -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 243
5 CoreFoundation 0x000000011a0d0faa +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
6 QuickLookUICore 0x0000000156e62b45 __49+[QLItem(PreviewInfo) contentTypesToPreviewTypes]_block_invoke + 528
7 libdispatch.dylib 0x000000011a8abf5b _dispatch_client_callout + 8
8 libdispatch.dylib 0x000000011a8ad5b5 _dispatch_once_callout + 66
9 QuickLookUICore 0x0000000156e62933 +[QLItem(PreviewInfo) contentTypesToPreviewTypes] + 46
10 QuickLookUICore 0x0000000156e632a0 -[QLItem(PreviewInfo) _uncachedPreviewItemTypeForContentType:] + 117
11 QuickLookUICore 0x0000000156e637b6 -[QLItem(PreviewInfo) _previewItemTypeForType:] + 150
12 QuickLookUICore 0x0000000156e635bc -[QLItem(PreviewInfo) _getPreviewItemType] + 61
13 QuickLookUICore 0x0000000156e4cea3 -[QLItem previewItemType] + 59
14 QuickLookUICore 0x0000000156e5476d +[QLItemFetcherFactory fetcherForPreviewItem:] + 90
15 QuickLookUICore 0x0000000156e4c575 -[QLItem fetcher] + 44
16 QuickLook 0x0000000118c8ad46 -[QLPreviewController previewItemAtIndex:withCompletionHandler:] + 153
17 QuickLook 0x0000000118cb26e4 __63-[QLPreviewItemStore previewItemAtIndex:withCompletionHandler:]_block_invoke + 267
18 QuickLookUICore 0x0000000156e49633 QLRunInMainThread + 51
19 QuickLook 0x0000000118cb25aa -[QLPreviewItemStore previewItemAtIndex:withCompletionHandler:] + 181
20 QuickLook 0x0000000118c8499d -[QLPreviewController internalCurrentPreviewItem] + 222
21 QuickLook 0x0000000118ce67e6 -[QLPreviewController(Overlay) _actionButton] + 344
22 QuickLook 0x0000000118ce6aab -[QLPreviewController(Overlay) _toolBarButtonsWithTraitCollection:] + 100
23 QuickLook 0x0000000118ce4a53 -[QLPreviewController(Overlay) _updateOverlayButtonsIfNeededWithTraitCollection:animated:updatedToolbarButtons:] + 129
24 QuickLook 0x0000000118ce40f6 -[QLPreviewController(Overlay) updateOverlayAnimated:animatedButtons:forceRefresh:withTraitCollection:] + 152
25 QuickLook 0x0000000118c847c2 -[QLPreviewController _setCurrentPreviewItemIndex:updatePreview:animated:] + 230
26 QuickLook 0x0000000118c8a628 -[QLPreviewController reloadData] + 418
27 QuickLook 0x0000000118c81529 -[QLPreviewController viewWillAppear:] + 408
28 UIKitCore 0x0000000138e03795 -[UIViewController _setViewAppearState:isAnimating:] + 832
29 UIKitCore 0x0000000138e0428b -[UIViewController __viewWillAppear:] + 107
30 UIKitCore 0x0000000138cd00fc __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.411 + 1127
31 UIKitCore 0x0000000139ca17dd -[_UIAfterCACommitBlock run] + 54
32 UIKitCore 0x0000000139ca1cdc -[_UIAfterCACommitQueue flush] + 190
33 UIKitCore 0x00000001396fa534 _runAfterCACommitDeferredBlocks + 782
34 UIKitCore 0x00000001396e8ce2 _cleanUpAfterCAFlushAndRunDeferredBlocks + 96
35 UIKitCore 0x000000013971e8dc _afterCACommitHandler + 72
36 CoreFoundation 0x000000011a030fe5 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
37 CoreFoundation 0x000000011a02b952 __CFRunLoopDoObservers + 515
38 CoreFoundation 0x000000011a02be9d __CFRunLoopRun + 1161
39 CoreFoundation 0x000000011a02b637 CFRunLoopRunSpecific + 560
40 GraphicsServices 0x000000012d00828a GSEventRunModal + 139
41 UIKitCore 0x00000001396ea425 -[UIApplication _run] + 994
42 UIKitCore 0x00000001396ef301 UIApplicationMain + 123
43 EAM360Enterprise 0x0000000100ca713f main + 63
44 dyld 0x0000000110eab2bf start_sim + 10
45 ??? 0x000000020870652e 0x0 + 8731518254
46 ??? 0x0000000000000003 0x0 + 3
)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]'
_LSContextInitReturningError() failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0xed662242 5fb7c0a8 1bf3f783 33b5c275 ... 5cef5e61 5d97a96c }, _LSLine=478, WrongSimulatorHash={length = 32, bytes = 0x3190f8e7 217931fc b7f7be3d 298bbb9a ... 8472784b 30a84b1d }}
terminating with uncaught exception of type NSException
CoreSimulator 857.7 - Device: iPhone 14 Pro Max (090DE6D4-3F15-4A60-ABDD-09BE30F01F89) - Runtime: iOS 16.0 (20A360) - DeviceType: iPhone 14 Pro Max
Any help would be greatly appreciated! Thanks!

Related

Not able to find crash Swift

App is crashing with these logs, but couldn't able to find what's causing the crash
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull set]: unrecognized selector sent to instance 0x118f33590'
*** First throw call stack:
(
0 CoreFoundation 0x0000000118ccf8ab __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00000001117a5ba3 objc_exception_throw + 48
2 CoreFoundation 0x0000000118cdeab8 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
3 CoreFoundation 0x0000000118cd3d71 ___forwarding___ + 1431
4 CoreFoundation 0x0000000118cd6068 _CF_forwarding_prep_0 + 120
5 UIFoundation 0x0000000125ff888b -[NSCoreTypesetter _NSFastDrawString:length:attributes:paragraphStyle:typesetterBehavior:lineBreakMode:rect:padding:graphicsContext:baselineRendering:usesFontLeading:usesScreenFont:scrollable:syncAlignment:mirrored:boundingRectPointer:baselineOffsetPointer:drawingContext:] + 5857
6 UIFoundation 0x0000000125ffa518 -[NSCoreTypesetter _stringDrawingCoreTextEngineWithOriginalString:rect:padding:graphicsContext:forceClipping:attributes:stringDrawingOptions:drawingContext:stringDrawingInterface:] + 1266
7 UIFoundation 0x0000000125ff1ea8 __NSStringDrawingEngine + 1882
8 UIFoundation 0x0000000125fef7a8 _NSStringDrawingCore + 173
9 UIFoundation 0x0000000125ff31ae -[NSAttributedString(NSExtendedStringDrawing) drawWithRect:options:context:] + 91
10 UIKitCore 0x0000000123c32a50 -[UILabel _drawTextInRect:baselineCalculationOnly:returningDeviceMetricsOfFirstLine:] + 4359
11 UIKitCore 0x0000000123c39393 -[UILabel _drawTextInRect:baselineCalculationOnly:] + 37
12 UIKitCore 0x0000000123c39c3f -[UILabel _drawTextInRect:] + 257
13 UIKitCore 0x0000000123c38e8a -[UILabel drawTextInRect:] + 615
14 UIKitCore 0x0000000123c39cd2 -[UILabel drawRect:] + 70
15 UIKitCore 0x0000000123d0881d -[UIView(CALayerDelegate) drawLayer:inContext:] + 613
16 QuartzCore 0x0000000114c3cd74 CABackingStoreUpdate_ + 223
17 QuartzCore 0x0000000114df5101 ___ZN2CA5Layer8display_Ev_block_invoke + 53
18 QuartzCore 0x0000000114deb29a -[CALayer _display] + 2114
19 QuartzCore 0x0000000114dfe748 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 464
20 QuartzCore 0x0000000114d0fb0c _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 626
21 QuartzCore 0x0000000114d4769b _ZN2CA11Transaction6commitEv + 735
22 QuartzCore 0x0000000114d48b64 _ZN2CA11Transaction25flush_as_runloop_observerEb + 60
23 CoreFoundation 0x0000000118c2e055 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
24 CoreFoundation 0x0000000118c289c2 __CFRunLoopDoObservers + 515
25 CoreFoundation 0x0000000118c28f0d __CFRunLoopRun + 1161
26 CoreFoundation 0x0000000118c286a7 CFRunLoopRunSpecific + 560
27 GraphicsServices 0x000000011d4df28a GSEventRunModal + 139
28 UIKitCore 0x00000001236d6ad3 -[UIApplication _run] + 994
29 UIKitCore 0x00000001236db9ef UIApplicationMain + 123
30 libswiftUIKit.dylib 0x0000000117366c72 $s5UIKit17UIApplicationMainys5Int32VAD_SpySpys4Int8VGGSgSSSgAJtF + 98
31 MyAppName 0x00000001044eb198 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 104
32 MyAppName 0x00000001044eb127 $s19MyAppName11AppDelegateC5$mainyyFZ + 39
33 MyAppName 0x00000001044eb2c8 main + 24
34 dyld 0x000000010e3e52bf start_sim + 10
35 ??? 0x0000000205ea6310 0x0 + 8689181456
)
libc++abi: terminating with uncaught exception of type NSException
Message from debugger: Terminated due to signal 6

After updating the Xcode 14 we facing the error with the Application circumvented Objective-C runtime dealloc initiation for <UIButton> object

After updating the Xcode to version 14 we faced a crash while launching the app. How can we fix this issue.
[13113:89575] *** Assertion failure in -[UIButton dealloc], UIView.m:4628
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application circumvented Objective-C runtime dealloc initiation for object.'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff800427378 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff80004dbaf objc_exception_throw + 48
2 Foundation 0x00007ff800b876ac _userInfoForFileAndLine + 0
3 UIKitCore 0x000000011eb8e997 -[UIView dealloc] + 1458
4 UIKitCore 0x000000011dcfb835 -[UIButton dealloc] + 41
5 libobjc.A.dylib 0x00007ff80004b6a1 _ZN11objc_object17sidetable_releaseEbb + 203
6 CoreFoundation 0x00007ff8003144e8 __RELEASE_OBJECTS_IN_THE_ARRAY__ + 11
7 CoreFoundation 0x00007ff80031442e -[__NSArrayM dealloc] + 283
8 libobjc.A.dylib 0x00007ff80004b6a1 _ZN11objc_object17sidetable_releaseEbb + 203
9 libobjc.A.dylib 0x00007ff80004be64 _ZN19AutoreleasePoolPage12releaseUntilEPP11objc_object + 18
10 libobjc.A.dylib 0x00007ff80004bcad objc_autoreleasePoolPop + 203
11 UIKitCore 0x000000011e0a083b -[UINib instantiateWithOwner:options:] + 3109
12 UIKitCore 0x000000011dcaad51 -[UIViewController loadView] + 640
13 UIKitCore 0x000000011dcab0a7 -[UIViewController loadViewIfRequired] + 95
14 UIKitCore 0x000000011dbd6d7e -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 162
15 UIKitCore 0x000000011dbd70c2 -[UINavigationController _startTransition:fromViewController:toViewController:] + 227
16 UIKitCore 0x000000011dbd80c3 -[UINavigationController _startDeferredTransitionIfNeeded:] + 863
17 UIKitCore 0x000000011dbd9468 -[UINavigationController __viewWillLayoutSubviews] + 136
18 UIKitCore 0x000000011dbb704c -[UILayoutContainerView layoutSubviews] + 207
19 UIKitCore 0x000000011ebc0913 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2305
20 QuartzCore 0x00007ff8088f8cb8 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 526
21 QuartzCore 0x00007ff808904191 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 65
22 QuartzCore 0x00007ff80881821d _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 623
23 QuartzCore 0x00007ff80884fa56 _ZN2CA11Transaction6commitEv + 714
24 UIKitCore 0x000000011e5b831c __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 34
25 CoreFoundation 0x00007ff800386cb1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
26 CoreFoundation 0x00007ff80038646a __CFRunLoopDoBlocks + 406
27 CoreFoundation 0x00007ff800380dc8 __CFRunLoopRun + 948
28 CoreFoundation 0x00007ff800380637 CFRunLoopRunSpecific + 560
29 GraphicsServices 0x00007ff809c0f28a GSEventRunModal + 139
30 UIKitCore 0x000000011e598425 -[UIApplication _run] + 994
31 UIKitCore 0x000000011e59d301 UIApplicationMain + 123
32 UK News 0x00000001071675e9 main + 73
33 dyld 0x0000000108a142bf start_sim + 10
34 ??? 0x0000000109c6252e 0x0 + 4458947886
)
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application circumvented Objective-C runtime dealloc initiation for <UIButton> object.'
CoreSimulator 857.7 - Device: iPhone 14 (722946E3-1DBE-4032-911B-51C89F27E522) - R
Search initialise method in your project and replace it with load method. Check it below.
Find
+(void)initialize
{
[super initialize];
}
Replace
+(void)load
{
[super load];
}

Error Terminating app due to uncaught exception 'NSInvalidArgumentException'

I've got an error while compiling (Release/Debug)
Terminating app due to uncaught exception NSInvalidArgumentException', reason: '-[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x600003ea6ae0'
After build successfully myProject. I was open my project in Xcode and click the run button on Xcode. the project build successfully and display the lunch screen in simulator device. After that stuff I get an error in main.m, and this is what I see in console:
#import <UIKit/UIKit.h>
int main(int argc, char* argv[])
{
#autoreleasepool {
int retVal = UIApplicationMain(argc, argv, nil, #"AppDelegate"); Thread 1: signal SIGABRT
return retVal;
}
}
2019-09-27 15:19:14.943154+0530 myApp[3086:93649] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/mk/Library/Developer/CoreSimulator/Devices/EC5630C3-373A-45AD-A404-5628B1B329B9/data/Containers/Data/Application/06D2441B-F5B5-47B8-B6A7-68AEA36BB0D6/Library/Cookies/com.test.my-app.binarycookies
2019-09-27 15:19:14.954425+0530 myApp[3086:93649] Apache Cordova native platform version 5.0.1 is starting.
2019-09-27 15:19:14.954596+0530 myApp[3086:93649] Multi-tasking -> Device: YES, App: YES
2019-09-27 15:19:14.972439+0530 myApp[3086:93649] -[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900
2019-09-27 15:19:14.981981+0530 myApp[3086:93649] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6000011cc900'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23bb9704 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23b9d7bc ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120
5 myApp 0x000000010a028723 -[CDVViewController viewDidLoad] + 227
6 myApp 0x000000010a004433 -[MainViewController viewDidLoad] + 51
7 UIKitCore 0x00007fff46af87c2 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 83
8 UIKitCore 0x00007fff46afd6d3 -[UIViewController loadViewIfRequired] + 1084
9 UIKitCore 0x00007fff46afdaf0 -[UIViewController view] + 27
10 UIKitCore 0x00007fff47199b55 -[UIWindow addRootViewControllerViewIfPossible] + 150
11 UIKitCore 0x00007fff4719920b -[UIWindow _updateLayerOrderingAndSetLayerHidden:actionBlock:] + 232
12 UIKitCore 0x00007fff4719a2c9 -[UIWindow _setHidden:forced:] + 362
13 UIKitCore 0x00007fff471ad46d -[UIWindow _mainQueue_makeKeyAndVisible] + 42
14 myApp 0x000000010a01ef3f -[CDVAppDelegate application:didFinishLaunchingWithOptions:] + 703
15 myApp 0x000000010a0041ab -[AppDelegate application:didFinishLaunchingWithOptions:] + 187
16 UIKitCore 0x00007fff4715994f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 232
17 UIKitCore 0x00007fff4715b2e7 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3980
18 UIKitCore 0x00007fff47160c05 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1281
19 UIKitCore 0x00007fff468b58b1 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
20 UIKitCore 0x00007fff46d96cd5 _UIScenePerformActionsWithLifecycleActionMask + 83
21 UIKitCore 0x00007fff468b63c3 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
22 UIKitCore 0x00007fff468b5e84 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 474
23 UIKitCore 0x00007fff468b61f3 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 821
24 UIKitCore 0x00007fff468b5a85 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
25 UIKitCore 0x00007fff468b9e70 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 159
26 UIKitCore 0x00007fff46cbdf8b +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 865
27 UIKitCore 0x00007fff46db51cf _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
28 UIKitCore 0x00007fff468b9b9e __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 153
29 UIKitCore 0x00007fff46db50d2 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 84
30 UIKitCore 0x00007fff468b9a0c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 381
31 UIKitCore 0x00007fff46717c96 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 657
32 UIKitCore 0x00007fff4671681b -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248
33 UIKitCore 0x00007fff467179c0 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 210
34 UIKitCore 0x00007fff4715f262 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 535
35 UIKitCore 0x00007fff46cdf774 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
36 FrontBoardServices 0x00007fff362e1d43 -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 442
37 FrontBoardServices 0x00007fff3630a00c __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.154 + 102
38 FrontBoardServices 0x00007fff362ecd21 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 220
39 FrontBoardServices 0x00007fff36309c9d __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 355
40 libdispatch.dylib 0x000000010a387d64 _dispatch_client_callout + 8
41 libdispatch.dylib 0x000000010a38acd5 _dispatch_block_invoke_direct + 300
42 FrontBoardServices 0x00007fff3633108a __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
43 FrontBoardServices 0x00007fff36330d78 -[FBSSerialQueue _queue_performNextIfPossible] + 441
44 FrontBoardServices 0x00007fff36331287 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
45 CoreFoundation 0x00007fff23afbac1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
46 CoreFoundation 0x00007fff23afb9ec __CFRunLoopDoSource0 + 76
47 CoreFoundation 0x00007fff23afb1c4 __CFRunLoopDoSources0 + 180
48 CoreFoundation 0x00007fff23af5ecf __CFRunLoopRun + 1263
49 CoreFoundation 0x00007fff23af56b6 CFRunLoopRunSpecific + 438
50 GraphicsServices 0x00007fff3815cbb0 GSEventRunModal + 65
51 UIKitCore 0x00007fff47162a67 UIApplicationMain + 1621
52 myApp 0x000000010a0040d1 main + 65
53 libdyld.dylib 0x00007fff5123bcf5 start + 1
54 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist .
Are you using notificayion in your app ,if so make what they are asking else check your app if there is a method that have un ended loop so that it is causing the app to throw execption of rebound.

NSInternalInconsistencyException', reason: 'Could not load NIB

I'm calling a controller that appears but after a while when I call back, I get this error:
2017-02-28 16:43:53.858 VoxInfra[38864:7593572] * Terminating app
due to uncaught exception 'NSInternalInconsistencyException', reason:
'Could not load NIB in bundle: 'NSBundle
(loaded)' with name 'TrackViewController''
* First throw call stack: ( 0 CoreFoundation 0x0000000107085d4b exceptionPreprocess + 171 1 libobjc.A.dylib
0x000000010677e21e objc_exception_throw + 48 2 CoreFoundation
0x00000001070ef2b5 +[NSException raise:format:] + 197 3 UIKit
0x0000000103391bd2 -[UINib instantiateWithOwner:options:] + 507 4
UIKit 0x00000001031259c5
-[UIViewController _loadViewFromNibNamed:bundle:] + 386 5 UIKit 0x00000001031262e7 -[UIViewController loadView] + 177 6 UIKit
0x000000010312661c -[UIViewController loadViewIfRequired] + 201 7
UIKit 0x0000000103126e70
-[UIViewController view] + 27 8 UIKit 0x00000001039e76a4 -[_UIFullscreenPresentationController
_setPresentedViewController:] + 87 9 UIKit 0x0000000103101702 -[UIPresentationController
initWithPresentedViewController:presentingViewController:] + 141 10
UIKit 0x0000000103139e97
-[UIViewController _presentViewController:withAnimationController:completion:] + 3956 11 UIKit 0x000000010313d26b
-[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 530 12 UIKit 0x000000010313cd51
-[UIViewController presentViewController:animated:completion:] + 179 13 VoxInfra 0x0000000102dcd991
-[MainViewController controllerTrace:] + 209 14 CoreFoundation 0x00000001070235ec
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12 15 CoreFoundation 0x00000001070234eb
_CFXRegistrationPost + 427 16 CoreFoundation 0x0000000107023252 _CFXNotificationPost_block_invoke + 50 17
CoreFoundation 0x0000000106fe6282
-[_CFXNotificationRegistrar find:object:observer:enumerator:] + 2018 18 CoreFoundation 0x0000000106fe531b
_CFXNotificationPost + 667 19 Foundation 0x000000010514381b -[NSNotificationCenter
postNotificationName:object:userInfo:] + 66 20 VoxInfra
0x0000000102dd2535 __36-[MainViewController
showMenuDroite]_block_invoke.658 + 101 21 VoxInfra
0x0000000102de3a9b __33-[CHTumblrMenuView buttonTapped:]_block_invoke
+ 59 22 libdispatch.dylib 0x000000010b3520cd _dispatch_client_callout + 8 23 libdispatch.dylib 0x000000010b32e16c _dispatch_continuation_pop + 1091 24
libdispatch.dylib 0x000000010b3431de
_dispatch_source_latch_and_call + 195 25 libdispatch.dylib 0x000000010b33bd79 _dispatch_source_invoke + 1098 26
libdispatch.dylib 0x000000010b332afc
_dispatch_main_queue_callback_4CF + 1006 27 CoreFoundation 0x0000000107049e49 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
+ 9 28 CoreFoundation 0x000000010700f37d __CFRunLoopRun + 2205 29 CoreFoundation 0x000000010700e884 CFRunLoopRunSpecific + 420 30 GraphicsServices
0x00000001082e5a6f GSEventRunModal + 161 31 UIKit
0x0000000102f84c68 UIApplicationMain + 159 32 VoxInfra
0x0000000102e3547f main + 111 33 libdyld.dylib
0x000000010b39e68d start + 1 ) libc++abi.dylib: terminating with
uncaught exception of type NSException

iOS - Crash issue on reload table

after recently updating an app to 64 bit, and 7.1 im getting a crash on a reload of a table. Ive tried various begin/end update attempts, but nothing seems to resolve.
Behaviour is around 2 seconds of hang then crash - here code called, then is the crash.
[myTableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationFade];
crash:
2015-11-02 20:10:24.827 ABC[43144:971620] *** 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 0x000000010cbe9f45 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010c663deb objc_exception_throw + 48
2 CoreFoundation 0x000000010caeceae -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 318
3 CoreFoundation 0x000000010caff21b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59
4 ABC 0x0000000106d7d426 -[ABCViewController tableView:heightForRowAtIndexPath:] + 1926
5 UIKit 0x00000001087105cf __66-[UISectionRowData refreshWithSection:tableView:tableViewRowData:]_block_invoke + 240
6 UIKit 0x000000010870fc5f -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] + 4876
7 UIKit 0x0000000108712898 -[UITableViewRowData ensureAllSectionsAreValid] + 109
8 UIKit 0x00000001084e3132 -[UITableView _endCellAnimationsWithContext:] + 598
9 UIKit 0x00000001084fd1bf -[UITableView _updateSections:updateAction:withRowAnimation:headerFooterOnly:] + 403
10 ABC 0x0000000106d7b780 -[ABCTimesViewController updateData] + 8288
11 ABC 0x0000000106d79705 -[ABCTimesViewController connectionDidFinishLoading:] + 309
12 CFNetwork 0x000000010be689ae __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 69
13 CFNetwork 0x000000010be68952 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 199
14 CFNetwork 0x000000010be68aa7 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
15 CFNetwork 0x000000010bcd6452 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 104
16 CFNetwork 0x000000010bdc45eb ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100
17 libdispatch.dylib 0x000000010d51449b _dispatch_client_callout + 8
18 libdispatch.dylib 0x000000010d4f654b _dispatch_block_invoke + 716
19 CFNetwork 0x000000010bcc26f0 _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 24
20 CoreFoundation 0x000000010cae94c4 CFArrayApplyFunction + 68
21 CFNetwork 0x000000010bcc25e9 _ZN19RunloopBlockContext7performEv + 137
22 CFNetwork 0x000000010bcc24a2 _ZN17MultiplexerSource7performEv + 282
23 CFNetwork 0x000000010bcc22c4 _ZN17MultiplexerSource8_performEPv + 72
24 CoreFoundation 0x000000010cb16011 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25 CoreFoundation 0x000000010cb0bf3c __CFRunLoopDoSources0 + 556
26 CoreFoundation 0x000000010cb0b3f3 __CFRunLoopRun + 867
27 CoreFoundation 0x000000010cb0ae08 CFRunLoopRunSpecific + 488
28 GraphicsServices 0x000000010dc2dad2 GSEventRunModal + 161
29 UIKit 0x00000001083be30d UIApplicationMain + 171
30 ABC 0x0000000106d56cd1 main + 97
31 libdyld.dylib 0x000000010d54892d start + 1
32 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Resources