0

I am trying to integrate the flurryAds to my iPhone app, I am not able to do this. I import the .h files named

#import "Flurry.h"
#import "FlurryAds.h"
#import "FlurryAdDelegate.h"

when I initialize using line of code like

[Flurry startSession:@"DV2B6SYZTHSJ5230458"];
[FlurryAds initialize:self.viewController];

I get an error like

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_FlurryHttpAsyncTask", referenced from:
      objc-class-ref in libFlurryAds.a(libFlurryAds.a-i386-master.o)

Can any one help me for this? Thank you in advance

user7388
  • 1,741
  • 2
  • 19
  • 25

3 Answers3

2

I guess your project is for iPhone/iPad. i386 is for mac project.

So remove i386 from valid architecture.

See this image: http://postimage.org/image/pxz2fyij5/

Or, one other chance is you are using Mac Flurry Lib...use iphone version of flurry lib.

iPhoneProcessor
  • 4,980
  • 6
  • 27
  • 49
0

Did you include the below required frameworks inside your app?

MediaPlayer.framework

SystemConfiguration.framework

UIKit.framework

CoreGraphics.framework

(Full disclosure: I work in the Support team at Flurry)

Aman Bansal
  • 1,581
  • 8
  • 14
0

Check this link. See if it helps.

Try removing the -ObjC flag and then see if you still get the error.

lostInTransit
  • 70,519
  • 61
  • 198
  • 274