我如何使用 facebook sdk swift 4.1 分支 ios

how can I use facebook sdk swift 4.1 branch for ios

我需要使用 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'

您在 :branch 之前缺少 , 应该是这个

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'