Search code examples
iphoneobjective-ccrashflurry

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


Solution

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

    #if TARGET_IPHONE_SIMULATOR
            [FlurryAnalytics setSessionReportsOnPauseEnabled:NO];
    #endif