After installing FBSDKLoginKit
through CocoaPods, I get the build errors
No known class method for selector 'areAllPermissionsReadPermissions:'
No known class method for selector 'areAllPermissionsPublishPermissions:'
both located in /Pods/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginManager.m
.
FBSDKCoreKit
is also installed through CocoaPods.
What I have checked is the following:
- FBSDKLoginKit does get added to the frameworks folder
- It has the correct target membership
- It is included in
Link Binary With Libraries
- I can import
FBSDKLoginKit/FBSDKLoginKit.h
without getting an error
Has anyone seen this before?
Egist was right, my problem was inconsistent versions of the different SDKs. My Podfile specified
and for some reason, this resulted in these frameworks being installed:
Obviously, the way out of this was to specify the versions: