I am just trying to run facebook login via Firebase in my ios app. I have done everything that is mentioned in Firebase`s ios (swift) guide [http://ift.tt/1BWVqou] but I am still facing compilation error:
Use of unresolved identifier 'FBSDKLoginManager'
If I am using:
let facebookLogin = FBSDKLoginManager()
Please note I have downloaded FBSKCoreKit, FBSLoginKit and FBSKShareKit (via cocoapods).
I have also updated my AppDelegate.swift like mentioned in the 7th step from guide above. I have also updated my ...-Bridging-Header.h file like:
#import <Firebase/Firebase.h>
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <FBSDKLoginKit/FBSDKLoginKit.h>
#import <FBSDKShareKit/FBSDKShareKit.h>
I have also added mentioned frameworks:
libicucore.dylib, libc++.dylib, CFNetwork.framework, Security.framework, SystemConfiguration.framework
Could you please tell me, what I have missed? Thank you for any suggestions.
My pod file:
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
use_frameworks!
target 'MyTarget' do
pod 'Alamofire', '~> 1.2'
pod 'AEXML'
pod 'AlecrimCoreData', '~> 3.0'
pod 'Firebase', '>= 2.3.2'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
end
target 'MyProjectTests' do
end
Aucun commentaire:
Enregistrer un commentaire