0

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];
Alec Gorge
  • 17,110
  • 10
  • 59
  • 71
rowdyruckus
  • 892
  • 4
  • 12
  • 23

2 Answers2

1

Are you sure you imported the class that has FlurryAPI? Did you follow all the instructions for flurryAPI? If that was all you needed to import you most likely need to create a string (or whatever flurry uses!)

Another thing is, you could have possibly forgot to import the framework!

Allison
  • 2,213
  • 4
  • 32
  • 56
1

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.

sblom
  • 26,911
  • 4
  • 71
  • 95