Component SDKs of the Facebook SDK for iOS

The Facebook SDK for iOS consists of the following component SDKs:

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.

Swift Package Manager

For more information about how to get started with the Facebook SDK for iOS using Swift Package Manager (SPM), see the Get SPM Started Guide.

CocoaPods

For more information about how to get started 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.

Download

You can also download the entire iOS SDK.

See facebook/facebook-ios-sdk on GitHub.