I've done all is mentioned here (https://www.parse.com/docs/ios_guide#fbusers/iOS) for implement in iOS the Facebook Login.
The problem is that i have an compile error "Use of unresolved identifier PFFacebookUtils" near che line
PFFacebookUtils.initializeFacebook()
in AppDelegate. I've correctly imported the Parse and Facebook Framework into my project. Are there some bug knowed in Xcode 6 Beta?
If you want to use PFFacebookUtils or/and PFLogInViewController with swift, you have to do this:
#import <ParseFacebookUtils/PFFacebookUtils.h>
in bridging header and thenimport ParseFacebookUtils
in swift file. And callPFFacebookUtils.initializeFacebook()
somewhere, of course best place for this is application didFinishLaunchingWithOptions.#import <ParseFacebookUtilsV4/PFFacebookUtils.h>
in bridging header andimport ParseFacebookUtilsV4
in swift file. And callPFFacebookUtils.initializeFacebookWithApplicationLaunchOptions(launchOptions)
in application didFinishLaunchingWithOptions.Of course you should have set your bridging header correctly and import frameworks.