如何使用iOS的Facebook SDK Swift 4.1分支

时间:2018-12-30 16:54:45

标签: xcode cocoapods branch podfile

我需要使用FaceBook Sdk Swift 4.1分支

pod 'FBSDKCoreKit', :git => 'https://github.com/facebook/facebook-swift-sdk.git' :branch => 'swift-4.1'
pod 'FBSDKLoginKit', :git => 'https://github.com/facebook/facebook-swift-sdk.git'  :branch => 'swift-4.1'
pod 'FacebookShare', :git => 'https://github.com/facebook/facebook-swift-sdk.git' :branch => 'swift-4.1'

1 个答案:

答案 0 :(得分:0)

:分支之前,您缺少 应该是

pod'FBSDKCoreKit',:git =>'https://github.com/facebook/facebook-swift-sdk.git',:branch =>'swift-4.1'

pod'FBSDKLoginKit',:git =>'https://github.com/facebook/facebook-swift-sdk.git',:branch =>'swift-4.1'

pod'FacebookShare',:git =>'https://github.com/facebook/facebook-swift-sdk.git',:branch =>'swift-4.1'