iosios7parse-platformcocoapodsparsefacebookutils

PFFacebookUtils is not resolved after upgrading parse cocoapod


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'


Solution

  • 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>