Terminating app due to uncaught exception 'NSUnknownKeyException

I'm trying to build an Ionic-cordova app in Xcode. It is throwing following error.

libc++abi.dylib: terminating with uncaught exception of type NSException
  • Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x7ffd2b7053a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'

* First throw call stack:
(
0  CoreFoundation           0x00007fff20421af6 __exceptionPreprocess + 242
1  libobjc.A.dylib           0x00007fff20177e78 objc_exception_throw + 48
2  CoreFoundation           0x00007fff20421797 -[NSException init] + 0
3  Foundation             0x00007fff207abfca -[NSObject(NSKeyValueCoding) setValue:forKey:] + 325
4  UIKitCore              0x00007fff2429ac59 -[UIRuntimeOutletConnection connect] + 109
5  CoreFoundation           0x00007fff2040b2a0 -[NSArray makeObjectsPerformSelector:] + 228
6  UIKitCore              0x00007fff24296e0b -[UINib instantiateWithOwner:options:] + 2175
7  UIKitCore              0x00007fff2429770a -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 147
8  UIKitCore              0x00007fff2469b2ec -[UIApplication _loadMainNibFileNamed:bundle:] + 75
9  UIKitCore              0x00007fff2469b992 -[UIApplication _loadMainInterfaceFile] + 274
10 UIKitCore              0x00007fff2469a463 -[UIApplication _runWithMainScene:transitionContext:completion:] + 971
11 UIKitCore              0x00007fff23cc36f7 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
12 UIKitCore              0x00007fff24251d1e _UIScenePerformActionsWithLifecycleActionMask + 88
13 UIKitCore              0x00007fff23cc4206 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
14 UIKitCore              0x00007fff23cc3cca -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 474
15 UIKitCore              0x00007fff23cc4037 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 819
16 UIKitCore              0x00007fff23cc38cb -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
17 UIKitCore              0x00007fff23ccbb63 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 178
18 UIKitCore              0x00007fff2415b613 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 871
19 UIKitCore              0x00007fff2426e5c6 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
20 UIKitCore              0x00007fff23ccb869 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 361
21 UIKitCore              0x00007fff23aee75f __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 797
22 UIKitCore              0x00007fff23aed209 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 253
23 UIKitCore              0x00007fff23aee398 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 208
24 UIKitCore              0x00007fff24698a0c -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 508
25 UIKitCore              0x00007fff24183a1f -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 358
26 FrontBoardServices         0x00007fff25aa70ae -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 391
27 FrontBoardServices         0x00007fff25acfb41 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.176 + 102
28 FrontBoardServices         0x00007fff25ab4ad5 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 209
29 FrontBoardServices         0x00007fff25acf80f __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 352
30 libdispatch.dylib          0x000000010**9c8 _dispatch_client_callout + 8
31 libdispatch.dylib          0x000000010bac1910 _dispatch_block_invoke_direct + 295
32 FrontBoardServices         0x00007fff25af57a5 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
33 FrontBoardServices         0x00007fff25af548b -[FBSSerialQueue _targetQueue_performNextIfPossible] + 433
34 FrontBoardServices         0x00007fff25af5950 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
35 CoreFoundation           0x00007fff2039038a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
36 CoreFoundation           0x00007fff20390282 __CFRunLoopDoSource0 + 180
37 CoreFoundation           0x00007fff2038f764 __CFRunLoopDoSources0 + 248
38 CoreFoundation           0x00007fff20389f2f __CFRunLoopRun + 878
39 CoreFoundation           0x00007fff203896d6 CFRunLoopRunSpecific + 567
40 GraphicsServices          0x00007fff2c257db3 GSEventRunModal + 139
41 UIKitCore              0x00007fff24696cf7 -[UIApplication _run] + 912
42 UIKitCore              0x00007fff2469bba8 UIApplicationMain + 101
43 FMCI                0x000000010b807001 main + 65
44 libdyld.dylib            0x00007fff2025a3e9 start + 1
45 ???                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
* Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x7ffd2b7053a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'
terminating with uncaught exception of type NSException
CoreSimulator 732.18.6 - Device: iPod touch (7th generation) (B8195196-4568-4E79-90EA-5BAA147AFC3A) - Runtime: iOS 14.4 (18D46) - DeviceType: iPod touch (7th generation)
Terminating app due to uncaught exception 'NSUnknownKeyException
 
 
Q