I'm following Parses instructions for implementing FB login here.
I've followed all the steps up to step 5, but when I get to the part where I add these two lines of code to didFinishLaunchingWithOptions
in AppDelegate.m
:
[Parse setApplicationId:@"parseAppId" clientKey:@"parseClientKey"];
[PFFacebookUtils initializeFacebookWithApplicationLaunchOptions:launchOptions];
I get an error stating:
no known class method for selector initializeFacebookWithApplicationLaunchOptions:
I've imported everything I possibly can in the app delegate:
#import "AppDelegate.h"
#import <Parse/Parse.h>
#import "DefaultSettingsViewController.h"
#import <ParseFacebookUtils/PFFacebookUtils.h>
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <FBSDKLoginKit/FBSDKLoginKit.h>
#import "Branch.h"
#import <ParseFacebookUtilsV4/PFFacebookUtils.h>
What am I missing?