Adding observers in obj-c crashes Codea

I am trying to use Objective-C in Codea to add controller support to my game. However, whenever I write this line of code:

objc.NSNotificationCenter:addObserver_(objc.GCController, objc.selector(“startWirelessControllerDiscoveryWithCompletionHandler_”), objc.class(“GCControllerDidConnectNotification”), objc.GCController)

the game completely crashes. I don’t know what to do about this!

Maybe since Notification is misspelled? Its quite hard to debug obj-c code in codea.

@tnlogy, Sorry, that was just a spelling mistake. The notification is spelled correctly in my actual code.