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:
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
.
It seems that you haven't properly added the Appirater code to your project. Both Appirater.h
and Appirater.m
must be part of your project, and Appirater.m
must be compiled like all your other files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With