2

I just updated the pod file on my project to increase parse version from 1.2.19 to 1.5.0, now I'm getting compilation error for PFFacebookUtils class as the following

Use of undeclared identifier 'PFFacebookUtils'

Cœur
  • 37,241
  • 25
  • 195
  • 267
Mahmoud Adam
  • 5,772
  • 5
  • 41
  • 62

2 Answers2

7

Parse has made Facebook utility separated from Parse framework. So I had to add cocoa pod for ParseFacebookUtils

pod 'ParseFacebookUtils', '~> 1.5.0.1'

then add the following line to the header:

#import <ParseFacebookUtils/PFFacebookUtils.h>

Mahmoud Adam
  • 5,772
  • 5
  • 41
  • 62
0

One suggestion would be to import ParseFacebookUtils/PFFacebookUtils.h (inside of carrots of course) instead of ParseFacebookUtils/ParseFacebookUtils.h

I know its strange, but it worked for me.

Felipe Oriani
  • 37,948
  • 19
  • 131
  • 194
Corey Byrum
  • 101
  • 2
  • 1