CristiC CristiC - 5 months ago 14x
Objective-C Question

Undefined symbols for architecture i386 "_OBJC_CLASS_$_Appirater"

After adding Appirater to my iOS project, when I compile, I get the error:

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_Appirater", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

After searching and searching on the internet, none of the solutions found helped.

Both my project and target are setup as:

enter image description here

What should I try more?


I think, that you only added files to project, but not to target.
Click on Appirater.m file in Project Navigator and set checkbox near to your target name in Target membership of File Inspector.