my problem is as follows:
I would like to use Cocoapods to manage the Facebook iOS SDKs for my swift application. When installing the latest pods for Facebook, everything works fine.
HOWEVER, those of you who use Facebook SDK might have noticed Facebook has disabled native app login, instead sending users to a safari webview to log in.
As such, I have been trying to use older versions of the Facebook pods to accomplish Facebook login via Facebook the iOS app.
When I attempt to build using pods recommended online (4.5.1), I get the following:
'FBSDKCoreKit/FBSDKCoreKit.h' file not found
Here is my Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
target 'MyApp' do
pod 'Alamofire', '~> 3.4'
pod 'SwiftyJSON', '~> 2.3'
pod 'Mapbox-iOS-SDK', '~> 3.3.4'
pod 'FBSDKCoreKit', '~> 4.5.1'
pod 'FBSDKShareKit', '~> 4.5.1'
pod 'FBSDKLoginKit', '~> 4.5.1'
end
Has anyone successfully used older Facebook iOS SDK pods with swift?