Im getting the sigabrt error and I don't know how to fix it

Title says it all.



Debugger console below












2018-06-24 19:47:56.425225-0400 dustStormPrototype[2361:68962] Unknown class ViewController in Interface Builder file.

2018-06-24 19:47:56.441962-0400 dustStormPrototype[2361:68962] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7fa4d3e09f00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key pickerView.'

*** First throw call stack:

(

0 CoreFoundation 0x0000000109e571e6 __exceptionPreprocess + 294

1 libobjc.A.dylib 0x00000001060a9031 objc_exception_throw + 48

2 CoreFoundation 0x0000000109e570b9 -[NSException raise] + 9

3 Foundation 0x0000000105acab47 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 292

4 UIKit 0x0000000106ae0ec0 -[UIViewController setValue:forKey:] + 87

5 UIKit 0x0000000106dcee8a -[UIRuntimeOutletConnection connect] + 109

6 CoreFoundation 0x0000000109df9e8d -[NSArray makeObjectsPerformSelector:] + 317

7 UIKit 0x0000000106dcd834 -[UINib instantiateWithOwner:options:] + 1856

8 UIKit 0x0000000106ae80d7 -[UIViewController _loadViewFromNibNamed:bundle:] + 383

9 UIKit 0x0000000106ae8a04 -[UIViewController loadView] + 177

10 UIKit 0x0000000106ae8d21 -[UIViewController loadViewIfRequired] + 175

11 UIKit 0x0000000106ae9574 -[UIViewController view] + 27

12 UIKit 0x00000001069b7123 -[UIWindow addRootViewControllerViewIfPossible] + 122

13 UIKit 0x00000001069b7834 -[UIWindow _setHidden:forced:] + 294

14 UIKit 0x00000001069ca5cc -[UIWindow makeKeyAndVisible] + 42

15 UIKit 0x000000010693e3da -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4739

16 UIKit 0x00000001069435cb -[UIApplication _runWithMainScene:transitionContext:completion:] + 1677

17 UIKit 0x0000000106d05f7e __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866

18 UIKit 0x00000001070d8a39 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153

19 UIKit 0x0000000106d05bba -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 236

20 UIKit 0x0000000106d063db -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 675

21 UIKit 0x0000000107677614 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 299

22 UIKit 0x00000001076774ae -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 433

23 UIKit 0x000000010735b75d __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 221

24 UIKit 0x00000001075564b7 _performActionsWithDelayForTransitionContext + 100

25 UIKit 0x000000010735b627 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 223

26 UIKit 0x00000001070d80e0 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392

27 UIKit 0x0000000106941eac -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515

28 UIKit 0x0000000106f14bcb -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361

29 FrontBoardServices 0x000000010bd722f3 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 331

30 FrontBoardServices 0x000000010bd7acfa __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 225

31 libdispatch.dylib 0x000000010aeae7ec _dispatch_client_callout + 8

32 libdispatch.dylib 0x000000010aeb3db8 _dispatch_block_invoke_direct + 592

33 FrontBoardServices 0x000000010bda6470 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24

34 FrontBoardServices 0x000000010bda612e -[FBSSerialQueue _performNext] + 439

35 FrontBoardServices 0x000000010bda668e -[FBSSerialQueue _performNextFromRunLoopSource] + 45

36 CoreFoundation 0x0000000109df9bb1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17

37 CoreFoundation 0x0000000109dde4af __CFRunLoopDoSources0 + 271

38 CoreFoundation 0x0000000109ddda6f __CFRunLoopRun + 1263

39 CoreFoundation 0x0000000109ddd30b CFRunLoopRunSpecific + 635

40 GraphicsServices 0x000000010c63ba73 GSEventRunModal + 62

41 UIKit 0x0000000106945057 UIApplicationMain + 159

42 dustStormPrototype 0x00000001057957f7 main + 55

43 libdyld.dylib 0x000000010af2b955 start + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb)

Replies

The SIGABRT isn't the real error. It's just an indication your app crashed itself. There are actually two errors, listed above the backtrace:


>> Unknown class ViewController in Interface Builder file.

>> [<UIViewController 0x7fa4d3e09f00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key pickerView


The first is a storyboard loading error, and the second is a Cocoa exception (which caused the app to crash itself).


The most likely reason for these is that you have a view controller that had an outlet called "pickerView", which used to be called "ViewController", and you changed its name to something else in the source file, but forgot to change the class name for the corresponding scene in your storyboard.


Or, it may be that you have the correct view controller class name in the storyboard, but the wrong module name. Normally you make sure "Inherit module from target" is checked, and you should see the correct module name in the text field below the class name.