After reading this post, I copied the lines within the closure to a separate function and discovered that response.value is where the problem is. Not sure what the answer is, but the bottom line: I guess you can't trust XCode to tell you where your problem is, at least not in closures!