Closed rnc505 closed 10 years ago
@rnc505 Thanks for this catch; it looks like this crash happens the first time you run the app on a device. Looks like Syncromatics changed their response JSON so that the array is double wrapped, so we'll need to alter the code to fix this. I'll get a fix pushed; luckily this crash shouldn't affect anyone before this Saturday when the Vandy Vans stop running for the year.
I'm getting a crash running the current master branch on my iPhone 5 running iOS 7.1. All I'm doing is running in debugging and I'm getting a SIGABRT. Here's the stack trace:
It doesn't seem to like this line (29):
CLLocationCoordinate2D coordinate = CLLocationCoordinate2DMake([coordinateResponseArray[i][@"Latitude"] doubleValue]
It appears that the object at
coordinateResponseArray[i]
is an NSArray, not an NSDictionary.If I type
po coordinateResponseArray[0]
into the debugger, this is the output:However, if I run in the Simulator this doesn't happen, although the app doesn't pop up in the debugger in the simulator for some reason, I have to click it to open it.