{"action":"closed","issue":{"url":"https://api.github.com/repos/shpakovski/MASShortcut/issues/64","labels_url":"https://api.github.com/repos/shpakovski/MASShortcut/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/shpakovski/MASShortcut/issues/64/comments","events_url":"https://api.github.com/repos/shpakovski/MASShortcut/issues/64/events","html_url":"https://github.com/shpakovski/MASShortcut/issues/64","id":57260201,"number":64,"title":"MASShortcutBinder \"this class is not key value coding-compliant for the key ...\"","user":{"login":"pedrovieira7","id":1943188,"avatar_url":"https://avatars.githubusercontent.com/u/1943188?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrovieira7","html_url":"https://github.com/pedrovieira7","followers_url":"https://api.github.com/users/pedrovieira7/followers","following_url":"https://api.github.com/users/pedrovieira7/following{/other_user}","gists_url":"https://api.github.com/users/pedrovieira7/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrovieira7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrovieira7/subscriptions","organizations_url":"https://api.github.com/users/pedrovieira7/orgs","repos_url":"https://api.github.com/users/pedrovieira7/repos","events_url":"https://api.github.com/users/pedrovieira7/events{/privacy}","received_events_url":"https://api.github.com/users/pedrovieira7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"zoul","id":95329,"avatar_url":"https://avatars.githubusercontent.com/u/95329?v=3","gravatar_id":"","url":"https://api.github.com/users/zoul","html_url":"https://github.com/zoul","followers_url":"https://api.github.com/users/zoul/followers","following_url":"https://api.github.com/users/zoul/following{/other_user}","gists_url":"https://api.github.com/users/zoul/gists{/gist_id}","starred_url":"https://api.github.com/users/zoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoul/subscriptions","organizations_url":"https://api.github.com/users/zoul/orgs","repos_url":"https://api.github.com/users/zoul/repos","events_url":"https://api.github.com/users/zoul/events{/privacy}","received_events_url":"https://api.github.com/users/zoul/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-02-11T00:28:10Z","updated_at":"2015-03-05T11:29:19Z","closed_at":"2015-03-05T11:29:19Z","body":"I've recently switched from MASShortcut 1.0 to 2.0 and now I've been experiencing this bug: \r\n> Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<MASShortcutBinder 0x60800004cfc0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key Shortcut Open Last.'  \r\n\r\nHere's the code I'm currently using (which worked before I updated from `MASShortcut registerGlobalShortcutWithUserDefaultsKey:handler:` to `MASShortcutBinder bindShortcutWithDefaultsKey: toAction:`): \r\n```objective-c\r\n[[MASShortcutBinder sharedBinder] bindShortcutWithDefaultsKey:kPrefsShortcutOpenLastFmUserURLKey toAction:^{\r\n        dispatch_async(dispatch_get_main_queue(), ^{\r\n            // do something\r\n        });\r\n    }];\r\n```  \r\nWhen debugging, my program completely crashes at this point giving the following error message on the console: \r\n```\r\n\t0   CoreFoundation                      0x00007fff9227166c __exceptionPreprocess + 172\r\n\t1   libobjc.A.dylib                     0x00007fff925b576e objc_exception_throw + 43\r\n\t2   CoreFoundation                      0x00007fff92271209 -[NSException raise] + 9\r\n\t3   Foundation                          0x00007fff8adc23dd -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 226\r\n\t4   MASShortcut                         0x000000010014ae9a -[MASShortcutBinder valueForUndefinedKey:] + 186\r\n\t5   Foundation                          0x00007fff8acdfbf8 -[NSObject(NSKeyValueCoding) valueForKey:] + 385\r\n\t6   Foundation                          0x00007fff8acf862e -[NSObject(NSKeyValueCoding) valueForKeyPath:] + 255\r\n\t7   AppKit                              0x00007fff83d87e0d -[NSObjectParameterBinder _updateObject:observedController:observedKeyPath:context:] + 622\r\n\t8   AppKit                              0x00007fff83d7f293 -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 758\r\n\t9   MASShortcut                         0x000000010014a705 -[MASShortcutBinder bindShortcutWithDefaultsKey:toAction:] + 309\r\n\t10  Muzzy                               0x0000000100013e6d __38-[AppDelegate listenToGlobalShortcuts]_block_invoke + 365\r\n\t11  libdispatch.dylib                   0x000000010016e2bb _dispatch_call_block_and_release + 12\r\n\t12  libdispatch.dylib                   0x0000000100168d43 _dispatch_client_callout + 8\r\n\t13  libdispatch.dylib                   0x0000000100177d9f _dispatch_main_queue_callback_4CF + 1370\r\n\t14  CoreFoundation                      0x00007fff921c4c79 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n\t15  CoreFoundation                      0x00007fff9218130f __CFRunLoopRun + 2159\r\n\t16  CoreFoundation                      0x00007fff92180858 CFRunLoopRunSpecific + 296\r\n\t17  HIToolbox                           0x00007fff8b4bfaef RunCurrentEventLoopInMode + 235\r\n\t18  HIToolbox                           0x00007fff8b4bf86a ReceiveNextEventCommon + 431\r\n\t19  HIToolbox                           0x00007fff8b4bf6ab _BlockUntilNextEventMatchingListInModeWithFilter + 71\r\n\t20  AppKit                              0x00007fff83cfcf81 _DPSNextEvent + 964\r\n\t21  AppKit                              0x00007fff83cfc730 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194\r\n\t22  AppKit                              0x00007fff83cf0593 -[NSApplication run] + 594\r\n\t23  AppKit                              0x00007fff83cdba14 NSApplicationMain + 1832\r\n\t24  Muzzy                               0x000000010000a6d2 main + 34\r\n\t25  libdyld.dylib                       0x00007fff870d25c9 start + 1\r\n\t26  ???                                 0x0000000000000003 0x0 + 3\r\n```\r\n\r\nAny ideas on what's making this crash? It's so weird because I am listening to more shortcuts the same way as above, with other shortcut constant identifiers, and it's passing my debugging without a problem. Only this one is making my app crash."}}