iosxcodeimportflurry

Use of undeclared identifier "FlurryAPI"


I already have analytics enabled and working.

I have added:

#import "FlurryAdDelegate.h"
#import "FlurryAppCircle.h"
#import "FlurryOffer.h"
#import "FlurryAnalytics.h"

this line throws this error:

Use of undeclared identifier "FlurryAPI":

[FlurryAPI setAppCircleEnabled:YES];

Solution

  • The right call for that is [FlurryAppCircle setAppCircleEnabled:YES];

    I don't think there's a FlurryAPI class at all.

    See sample code at the Flurry documentation site.