Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Undefined symbols for architecture armv7: "_OBJC_CLASS_$_Flurry"

Tags:

ios

iphone

flurry

I am trying to integrate Flurry analytics 4.1.0 into my iPhone application, but I am receiving the following error when trying to build the project:

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_Flurry", referenced from:
      objc-class-ref in AppDelegate.o

I have followed the Flurry steps and googled the issue but everyone with a similar issue had simply forgotten to link SystemConfiguration.framework.

Below are some screenshots of my project setup.

project fileslibrariesproject build settings

like image 533
joe Avatar asked Jan 02 '13 14:01

joe


2 Answers

It seems that the library libFlurry.a isn't properly added to your project. It should appear in the second screenshot.

Click on the + icon at the bottom of the Link Binary with Libraries view (second screenshot) and select the libFlurry.a file. Then build again.

like image 156
Codo Avatar answered Nov 05 '22 14:11

Codo


Actually, you also need add the following frameworks:

CFNetwork.framework
Security.framework
SystemConfiguration.framework
like image 37
adotidea Avatar answered Nov 05 '22 14:11

adotidea