Where is "PFFacebookUtils.framework" on CocoaPods repo?

7.3k Views Asked by At

Does anyone know where to find the framework ParseFacebookUtils/PFFacebookUtils.h in the new version of the SDK in CocoaPods? Bolts are installed automatically but no ParseFacebookUtils

Thanks!

6

There are 6 best solutions below

1
On BEST ANSWER

The official pod is Parse not Parse-iOS, actually the iOS was just deprecated a couple of days ago, to get things working just add ParseFacebookUtils to your pods file and update.

So this means your pods file should look like

pod 'Facebook-iOS-SDK'
pod 'Parse'
pod 'ParseFacebookUtils'

save and update.

0
On

My Podfile:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.1'

pod 'Facebook-iOS-SDK', '3.20.0'
pod 'Parse', '1.5.0'
pod 'ParseFacebookUtils', '1.5.0.1'

My [Xcode's project name]-Bridging-Header:

//  Use this file to import your target's public headers that you would like to expose to Swift.

#import <FacebookSDK/FacebookSDK.h>
#import <Parse/Parse.h>
#import <ParseFacebookUtils/PFFacebookUtils.h>

Works like a charm using Xcode 6.1

6
On

An official podspec has been released for Parse, and the older one should be deprecated.

So now there's a ParseFacebookUtils pod as well.

https://github.com/CocoaPods/Specs/blob/master/Specs/Parse-iOS/1.2.21/Parse-iOS.podspec.json https://github.com/hlung/podspec/issues/1

0
On

Go to Project > Select the project in Targets > Find by Other Linker Flags and add the ${inherited} flag like print above.

screen of flags

Just compile and well done!

0
On

Facebook Update

Facebook-iOS-SDK has been deprecated in favor of FBSDKCoreKit

platform :ios, '8.0'
target 'SO-25575606' do
pod 'FBSDKCoreKit'
pod 'Parse'
pod 'ParseFacebookUtils'
end
0
On

If you want to use the Facebook 4 SDK and the new version of Parse, you need the ParseFacebookUtilsV4 pod.

pod 'Parse',            '1.7.1'
pod 'ParseFacebookUtilsV4','1.7.1'
pod 'Facebook-iOS-SDK', '4.0.1'