ios - FBSDKLoginManager: undefined symbols for architecture x86_64 + linker command failed with exit code 1 -


i upgraded facebook ios sdk v.4.0.1 , got these errors:

undefined symbols architecture x86_64:   "_objc_class_$_fbsdkloginmanager", referenced from:       objc-class-ref in controller1.o       objc-class-ref in appdelegate.o       objc-class-ref in controller2.o ld: symbol(s) not found architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation) 

i tried change linkers: -all_load same error, while -force_load becomes "ld: file not found: -fobjc-arc". solutions?

i ran same problem. if you're adding facebook login app (which presume are) need drag fbsdkloginkit.framework file xcode project in addition fbsdkcorekit.framework file.

the current instructions on facebook's sdk getting started page forget mention this. in version < 4 of sdk, there 1 file drag in project.


Popular posts from this blog