Since Xcode 7 and Swift 2.0, I get the error above, like in the screenshot shown here:
for me.. I modified the content of a @objc function like so:
before:
@objc func didConnectWithSession() {
context!.stream.disconnectAfterSending()
}
after:
@objc func didConnectWithSession() {
//context!.stream.disconnectAfterSending()
}
This caused the error. I resolved by removing the entire function.