In Xcode 6 with iOS 8, SRWebSocket.m, line 114:

return [[NSData dataWithBytes:md length:CC_SHA1_DIGEST_LENGTH] base64Encoding];

gives a warning ‘base64Encoding’ is deprecated first deprecated in iOS 7.0.

Eliminated the warning with:

NSData *data = [NSData dataWithBytes:md length:CC_SHA1_DIGEST_LENGTH];
NSString *base64String = [data base64EncodedStringWithOptions:0];
return base64String;