Undefined symbols for architecture armv7: "_OBJC_CLASS_$_Flurry"

joe picture joe · Jan 2, 2013 · Viewed 12.8k times · Source

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 files libraries project build settings

Answer

Codo picture Codo · Jan 2, 2013

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.