When I try to use this code:
FacebookViewController *manager = [FacebookViewController sharedManager];
to call a shared manager with this in the .h
+ (FacebookViewController *) sharedManager;
I get this:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_FacebookViewController", referenced from:
objc-class-ref in ContactFBSViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What is the problem?