The symptom is the log output pasted at the bottom of this email. However I don’t see why it isn’t understanding that I have a custom subclass of NSApplication (which does expose those actions).
That last finding suggests that I must have changed ~something~, but I cannot imagine what. Googling just revealed a series of discussions where people have made relatively obvious mistakes that I think I have excluded here. Can anybody suggest what the problem might be, or how I could gather more information to help debug it?
2014-07-16 10:49:19.429 Spim GUI[43567:303] Could not connect the action saveSnapshot: to target of class NSApplication
2014-07-16 10:49:19.430 Spim GUI[43567:303] Could not connect the action makeMovieFromFolder: to target of class NSApplication
2014-07-16 10:49:19.430 Spim GUI[43567:303] Could not connect the action makeTriggerVideos: to target of class NSApplication
2014-07-16 10:49:19.430 Spim GUI[43567:303] Could not connect the action batchMakeTriggerVideos: to target of class NSApplication
2014-07-16 10:49:19.431 Spim GUI[43567:303] Could not connect the action supervisedAnalysis: to target of class NSApplication
2014-07-16 10:49:19.431 Spim GUI[43567:303] Could not connect the action showStageWindow: to target of class NSApplication
2014-07-16 10:49:19.431 Spim GUI[43567:303] Could not connect the action makeAdvancedMovieFromFolder: to target of class NSApplication
2014-07-16 10:49:19.433 Spim GUI[43567:303] An uncaught exception was raised
2014-07-16 10:49:19.433 Spim GUI[43567:303] [<NSApplication 0x682480> valueForUndefinedKey:]: this class is not key value coding-compliant for the key acquiringVideo.
2014-07-16 10:49:19.436 Spim GUI[43567:303] (
0 CoreFoundation 0x9878d471 __raiseError + 193
1 libobjc.A.dylib 0x9af43091 objc_exception_throw + 162
2 CoreFoundation 0x9878d061 -[NSException raise] + 17
3 Foundation 0x989e0273 -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 282
4 Foundation 0x988e1566 _NSGetUsingKeyValueGetter + 52
5 Foundation 0x988e152a -[NSObject(NSKeyValueCoding) valueForKey:] + 406
6 AppKit 0x9269c678 -[NSApplication(NSScripting) valueForKey:] + 576
7 Foundation 0x988fb0a5 -[NSObject(NSKeyValueCoding) valueForKeyPath:] + 444
8 AppKit 0x92454dfd -[NSBinder _valueForKeyPath:ofObject:mode:raisesForNotApplicableKeys:] + 825
9 AppKit 0x92454a3a -[NSBinder valueForBinding:resolveMarkersToPlaceholders:] + 193
10 AppKit 0x9245b44d -[NSEditableBinder enabledState] + 70
11 AppKit 0x9245b3fe -[NSEditableBinder _enabledStateWithMode:] + 109
12 AppKit 0x9245b0ec -[NSEditableBinder _setStatesImmediatelyInObject:mode:triggerRedisplay:] + 352
13 AppKit 0x9245af84 -[NSEditableBinder _observeValueForKeyPath:ofObject:context:] + 124
14 AppKit 0x92453ede -[NSBinder observeValueForKeyPath:ofObject:change:context:] + 566
15 AppKit 0x92453ca3 -[NSBinder _performConnectionEstablishedRefresh] + 82
16 AppKit 0x9245208c -[NSBinder establishConnection] + 359
17 AppKit 0x9244a24f -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 706
18 AppKit 0x92594948 -[NSNibBindingConnector establishConnection] + 141
19 AppKit 0x923a8d80 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1004
20 AppKit 0x9239c995 loadNib + 369
21 AppKit 0x9239bdc1 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 320
22 AppKit 0x9239bb8f -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 256
23 AppKit 0x9239b91c +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 418
24 AppKit 0x92396d89 NSApplicationMain + 510
25 Spim GUI 0x00002935 start + 53
)
2014-07-16 10:49:19.442 Spim GUI[43567:303] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSApplication 0x682480> valueForUndefinedKey:]: this class is not key value coding-compliant for the key acquiringVideo.'
*** Call stack at first throw:
(
0 CoreFoundation 0x9878d471 __raiseError + 193
1 libobjc.A.dylib 0x9af43091 objc_exception_throw + 162
2 CoreFoundation 0x9878d061 -[NSException raise] + 17
3 Foundation 0x989e0273 -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 282
4 Foundation 0x988e1566 _NSGetUsingKeyValueGetter + 52
5 Foundation 0x988e152a -[NSObject(NSKeyValueCoding) valueForKey:] + 406
6 AppKit 0x9269c678 -[NSApplication(NSScripting) valueForKey:] + 576
7 Foundation 0x988fb0a5 -[NSObject(NSKeyValueCoding) valueForKeyPath:] + 444
8 AppKit 0x92454dfd -[NSBinder _valueForKeyPath:ofObject:mode:raisesForNotApplicableKeys:] + 825
9 AppKit 0x92454a3a -[NSBinder valueForBinding:resolveMarkersToPlaceholders:] + 193
10 AppKit 0x9245b44d -[NSEditableBinder enabledState] + 70
11 AppKit 0x9245b3fe -[NSEditableBinder _enabledStateWithMode:] + 109
12 AppKit 0x9245b0ec -[NSEditableBinder _setStatesImmediatelyInObject:mode:triggerRedisplay:] + 352
13 AppKit 0x9245af84 -[NSEditableBinder _observeValueForKeyPath:ofObject:context:] + 124
14 AppKit 0x92453ede -[NSBinder observeValueForKeyPath:ofObject:change:context:] + 566
15 AppKit 0x92453ca3 -[NSBinder _performConnectionEstablishedRefresh] + 82
16 AppKit 0x9245208c -[NSBinder establishConnection] + 359
17 AppKit 0x9244a24f -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 706
18 AppKit 0x92594948 -[NSNibBindingConnector establishConnection] + 141
19 AppKit 0x923a8d80 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1004
20 AppKit 0x9239c995 loadNib + 369
21 AppKit 0x9239bdc1 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 320
22 AppKit 0x9239bb8f -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 256
23 AppKit 0x9239b91c +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 418
24 AppKit 0x92396d89 NSApplicationMain + 510
25 Spim GUI 0x00002935 start + 53
)
(lldb)