当我尝试使用此代码时:
FacebookViewController *manager = [FacebookViewController sharedManager];
在 .h 中调用共享管理器
+ (FacebookViewController *) sharedManager;
我明白了:
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)
问题是什么?