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.
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.