I just upgraded Facebook iOS SDK to v.4.0.1 and I got these errors:
Undefined symbols for architecture x86_64: \"_OBJC_CLASS_$_FBSDKLoginManager\", referenced
if you are trying to add it using cocoapods just add versions and it will work
change the pod file to the following:
pod 'FBSDKCoreKit', '~> 4.17.0' pod 'FBSDKLoginKit', '~> 4.17.0' pod 'FBSDKShareKit', '~> 4.17.0'