sonos-objc
sonos-objc copied to clipboard
Crash in SonosController.m
Hello,
I am facing a crash on line 401 of SonosController.m. I am not doing anything special to get this crash. I guess it comes directly from the sharedInstance that initializes the devices.
So it crashes on: NSDictionary *returnData = @{@"CurrentTransportState" : response[@"s:Envelope"][@"s:Body"][@"u:GetTransportInfoResponse"][@"CurrentTransportState"][@"text"]};
It crashes because 'response' is nil.
Martin
This now fixed here: https://github.com/getsenic/sonos-objc/commit/3701e5e7a151b2e5b8f2159cf3451b85fb67cfaa