Component SDKs of the Facebook SDK for iOS

To make your app compatible with iOS 11, use the latest Facebook SDKs for iOS.

If you link to the SDKs with CocoaPods, you must update your pods for the SDKs your app uses and recompile your app. You can also download the latest version of the Facebook iOS SDK, integrate it into your app, and recompile.

The Facebook SDK for iOS consists of five component SDKS:

 |     Login     |    Share      |     Places   |    Marketing   |
 | 0.2 MB + Core | 0.7 MB + Core | 1 MB + Core  |  0.2 MB + Core |
 |   = 1.8 MB    |   = 2.3 MB    |   = 2.6 MB   |    = 1.8 MB    |
 |                      Core                                     |
 |                     1.6 MB                                    |

If you don't need the functionality of the full iOS SDK, you can save space by using only the SDK(s) you need to support the Facebook products you want to use in your app.

Note that when you use one of the Facebook SDKs, events in your app are automatically logged and collected for Facebook Analytics unless you disable automatic event logging. For details about what information is collected and how to disable automatic event logging, see Automatic App Event Logging.


For more information about using CocoaPods with your app, see the CocoaPods Getting Started Guide. Make sure you have the CocoaPods gem installed on your machine before attempting to install any Facebook pods.

In your Podfile, add the pod commands for the specific pods you are using in your app. You do not need to include all of commands if you are not using all the pods.

pod 'FBSDKCoreKit'  
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
pod 'FBSDKPlacesKit'

Navigate to your project folder in a terminal window, and run the following command:

pod install

Configure your plist with your FacebookAppID, FacebookDisplayName, and the necessary CFBundleURLSchemes:

<plist version="1.0">


You can also download the entire iOS SDK.

See facebook/facebook-objc-sdk on GitHub.