With v1.2.21 of the Parse library, PFFacebookUtils.h moved to another Framework, ParseFacebookUtils . Xcode does not recognize PFFacebookUtils.h because it most likely no longer exists.
You need to add the ParseFacebookUtils module to the subfile:
pod 'ParseFacebookUtils', '~> 1.2'
BUT, there is a problem with this. The Parse pod specification lists Facebook-iOS-SDK v3.17 as a dependency, and the ParseFacebookUtils specification lists an alternative Parse podspec ( Parse-iOS ) as well as the Facebook-iOS-SDK v3.9.0 as a dependency, which is obviously a conflict. You do not need 2x parsing libraries and incompatible versions of the SDK for Facebook.
I forked and updated the version of the ParseFacebookUtils specification on github that solves both of these problems. If you want to use it, add the following to your file:
pod 'ParseFacebookUtils', :podspec => 'https://raw.githubusercontent.com/rickerbh/ParseFacebookUtilsSpec/master/ParseFacebookUtils.podspec.json'
And don't forget
#import <ParseFacebookUtils/PFFacebookUtils.h>
so your project knows about PFFacebookUtils
source share