I don't get FBSDKMessengerShareKit.framework if I use pod

851 views Asked by At

Instead of getting the package directly, my project uses pod to get the source code and build it. If I want to use FBSDKMessengerShareKit.framework, the latest pod version doesn't get it. Does anyone have an idea what is happening?

https://github.com/CocoaPods/Specs/blob/master/Specs/Facebook-iOS-SDK/4.0/Facebook-iOS-SDK.podspec.json

2

There are 2 answers

3
Chris Pan On

Sorry, FBSDKMessengerShareKit is not available on Github or Cocoapods at this time. For now you'll have to download the pkg and link the .framework directly.

0
Yuchen On

FBSDKMessengerShareKit is available under CocoaPods now! Add these to your pod file:

pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
pod 'FBSDKMessengerShareKit'

See https://cocoapods.org/pods/FBSDKMessengerShareKit for detail.