The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding FBAudienceNetwork as a dependency is as easy as adding it to the dependencies value of your Package.swift or the Package list in Xcode.
Meta Audience Network iOS SDK
Meta Audience Network allows you to monetize your iOS apps with Facebook ads.
Please make sure that you have completed the Audience Network Getting Started and iOS Getting Started guides before you proceed.
Installation
Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the
swiftcompiler.Once you have your Swift package set up, adding FBAudienceNetwork as a dependency is as easy as adding it to the
dependenciesvalue of yourPackage.swiftor the Package list in Xcode.Package.swift
Xcode
https://github.com/facebook/FBAudienceNetwork6.21.0)FBAudienceNetworklibrary and add it to your targetCocoaPods (deprecated)
Note: CocoaPods trunk is becoming readonly so Swift Package Manager is the recommended way to install the SDK.
Add the following to your
Podfile:Then run
pod installin the project folder from command line to download the latest Audience Network SDK.Requirements
Documentation
License
See the LICENSE file for more info.