Not able to find crash Swift - ios

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

Related

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: DiskCookieStorage changing policy from 2 to 0, cookie file

I've got an error while compiling in Xcode (Release/Debug)
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
I tried to install cordova-sqlite-storage and remove ios platform and reinstall ios platform and build project for IOS
I have no code to show because is terminating with uncaught exception error.
My app build successful for IOS in ionic.
After that I open the project in Xcode and run the project in simulator device then stuff I get an error in main.m
what I see in console:
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)

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.

Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 40]'

This is extremely odd. I practically did nothing with the app. Just fixed a constraint and the app loaded just fine and the constraint had taken the effect. Then simply I re-ran the app and got this error. Don't know how to fix it.
First throw call stack:
(
0 CoreFoundation 0x000000010ea2673b __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010da1b735 objc_exception_throw + 48
2 CoreFoundation 0x000000010ea26595 +[NSException raise:format:] + 197
3 QuartzCore 0x000000010ef8a923 _ZN2CA5Layer12set_positionERKNS_4Vec2IdEEb + 141
4 QuartzCore 0x000000010ef79a13 -[CALayer setPosition:] + 57
5 QuartzCore 0x000000010ef7a16f -[CALayer setFrame:] + 561
6 UIKitCore 0x0000000117ebf09e -[UIView(Geometry) setFrame:] + 336
7 List24 0x000000010d0c4364 $S6List2414ViewControllerC05tableB0_12cellForRowAtSo07UITableB4CellCSo0iB0C_10Foundation9IndexPathVtF + 836
8 List24 0x000000010d0c46bb $S6List2414ViewControllerC05tableB0_12cellForRowAtSo07UITableB4CellCSo0iB0C_10Foundation9IndexPathVtFTo + 155
9 UIKitCore 0x0000000117d38c1c -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 771
10 UIKitCore 0x0000000117d391a9 -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 73
11 UIKitCore 0x0000000117d002aa -[UITableView _updateVisibleCellsNow:isRecursive:] + 2863
12 UIKitCore 0x0000000117d20f62 -[UITableView layoutSubviews] + 165
13 UIKitCore 0x0000000117ede749 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1441
14 QuartzCore 0x000000010ef80299 -[CALayer layoutSublayers] + 175
15 QuartzCore 0x000000010ef85153 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395
16 QuartzCore 0x000000010eefdbb2 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 342
17 QuartzCore 0x000000010ef34e62 _ZN2CA11Transaction6commitEv + 576
18 UIKitCore 0x00000001177e1208 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 139
19 CoreFoundation 0x000000010e98a2bc __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
20 CoreFoundation 0x000000010e989a70 __CFRunLoopDoBlocks + 336
21 CoreFoundation 0x000000010e9842e4 __CFRunLoopRun + 1284
22 CoreFoundation 0x000000010e983aa1 CFRunLoopRunSpecific + 625
23 GraphicsServices 0x00000001142531dd GSEventRunModal + 62
24 UIKitCore 0x00000001177c6a4f UIApplicationMain + 140
25 List24 0x000000010d0d0f27 main + 71
26 libdyld.dylib 0x000000011116dced start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Store the data dynamically in uitableview using sqlite

Code:
NSString *Query=[NSString stringWithFormat:#"select *from peopleinfm where peopleinfmID=%d",TextEdit];
NSArray *Results=[[NSArray alloc]initWithArray:[DBManger loadDataFromDB:Query]];
self.FirstnameText.text=[[Results objectAtIndex:1]objectAtIndex:[self.DBManger.ColumnArray indexOfObject:#"firstname"]];
self.LastnameText.text=[[Results objectAtIndex:1]objectAtIndex:[self.DBManger.ColumnArray indexOfObject:#"lastname"]];
self.AgeText.text=[[Results objectAtIndex:1]objectAtIndex:[self.DBManger.ColumnArray indexOfObject:#"age"]];
Logs:
2016-02-12 19:03:36.068 SampleFMDB[9641:762577] no such table: peopleinfm
2016-02-12 19:03:36.077 SampleFMDB[9641:762577] _UIConstraintBasedLayoutLogUnsatisfiable is OFF
2016-02-12 19:03:37.934 SampleFMDB[9641:762577] no such table: peopleinfm
2016-02-12 19:03:37.978 SampleFMDB[9641:762577] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArray0 objectAtIndex:]: index 1 beyond bounds for empty NSArray'
*** First throw call stack:
(
0 CoreFoundation 0x00b23a94 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x005e2e02 objc_exception_throw + 50
2 CoreFoundation 0x00aca4a0 __CFArrayGetTypeID_block_invoke + 0
3 SampleFMDB 0x00010003 -[AddViewController loadInfoToEdit] + 291
4 SampleFMDB 0x0000f9bc -[AddViewController viewDidLoad] + 396
5 UIKit 0x01070d74 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 44
6 UIKit 0x010758c2 -[UIViewController loadViewIfRequired] + 1556
7 UIKit 0x0107bf0e -[UIViewController __viewWillAppear:] + 114
8 UIKit 0x0109ecf0 -[UIViewController(UIContainerViewControllerProtectedMethods) beginAppearanceTransition:animated:] + 202
9 UIKit 0x010b0d63 -[UINavigationController _startCustomTransition:] + 1375
10 UIKit 0x010c1c0b -[UINavigationController _startDeferredTransitionIfNeeded:] + 801
11 UIKit 0x010c2d05 -[UINavigationController __viewWillLayoutSubviews] + 68
12 UIKit 0x0128cd9f -[UILayoutContainerView layoutSubviews] + 252
13 UIKit 0x00f7916b -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 813
14 libobjc.A.dylib 0x005f7059 -[NSObject performSelector:withObject:] + 70
15 QuartzCore 0x048ae60c -[CALayer layoutSublayers] + 144
16 QuartzCore 0x048a228e _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 388
17 QuartzCore 0x048a20f2 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26
18 QuartzCore 0x04894c2b _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 317
19 QuartzCore 0x048c8c23 _ZN2CA11Transaction6commitEv + 589
20 QuartzCore 0x048ca484 _ZN2CA11Transaction17flush_transactionEv + 50
21 UIKit 0x00eadb55 _UIApplicationHandleEventQueue + 7921
22 CoreFoundation 0x00a3de7f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
23 CoreFoundation 0x00a33b0b __CFRunLoopDoSources0 + 523
24 CoreFoundation 0x00a32f28 __CFRunLoopRun + 1032
25 CoreFoundation 0x00a32866 CFRunLoopRunSpecific + 470
26 CoreFoundation 0x00a3267b CFRunLoopRunInMode + 123
27 GraphicsServices 0x04148664 GSEventRunModal + 192
28 GraphicsServices 0x041484a1 GSEventRun + 104
29 UIKit 0x00eb3cc1 UIApplicationMain + 160
30 SampleFMDB 0x000108ea main + 138
31 libdyld.dylib 0x030f6a21 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Resources