Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flurry API crashing iPhone simulator

My app is crashing using iOS5 and iOS4.3 iPhone simulators in Xcode 4.2, the stack trace shows BAD_ACCESS signal in [FlurryAPI stopBackgroundTask] method.

While in the iOS4.3 simulator the app is only crashing when sending the app to background, in iOS5 is crashing always.I am attaching a picture of the debug navigator showing the thread where the BAD_ACCESS is happening.

On the other hand the app is working fine using a real device.

Any ideas of how can I get more information of what is going on and why this is happening?

enter image description here

like image 802
yeforriak Avatar asked Dec 27 '22 11:12

yeforriak


1 Answers

I've worked around this issue by adding the following to didFinishLaunchingWithOptions

#if TARGET_IPHONE_SIMULATOR
        [FlurryAnalytics setSessionReportsOnPauseEnabled:NO];
#endif
like image 143
Paul Greyson Avatar answered Jan 14 '23 23:01

Paul Greyson