Been trying to debug a crash for the past 10 hours and finally, I simplified it to this code:
NSError *error = nil;
NSData *data = [NSData dataWithContentsOf
It looks like Apple did a bad work in error handling of such cases within their class, since your getting crash instead of normal nil result and error variable populated. Your json data and minimalistic code is what Apple usually require for a proper bug report. Report the bug by following link - https://developer.apple.com/bugreporter/ do not forget to attach project in zip as a proof that it crashes.