Duplicate interface definition for "PFFacebookUtils" class - IOS

I am using Parse on an existing project and after spending hours I am unable to compile it. I want to use FB with Parse and I tried the following.

Paging file

pod 'Parse'
pod 'ParseFacebookUtilsV4'

      

which adds:

Using Bolts (1.2.0)
Installing FBSDKCoreKit (4.3.0)
Installing FBSDKLoginKit (4.3.0)
Using Parse (1.7.5)
Installing ParseFacebookUtilsV4 (1.7.5)

      

Import

#import <Parse/Parse.h>

      

Mistake:

@interface PFFacebookUtils : NSObject Duplicate interface definition for class 'PFFacebookUtils'

      

Even if I add to my import:

#import <ParseFacebookUtilsV4/PFFacebookUtils.h>

      

The error remains unchanged.

+3


source to share


1 answer


Have you downloaded any Facebook SDK to your hard drive and added the path to it in your "search patterns in your project" configuration? If you did, remove the framework and remove the path from the search paths for frames. You don't need to do this if you are importing it using cocoapods.



0


source







All Articles