Fix: https://github.com/facebook/FBAudienceNetwork/issues/4
Summary: The package declared Swift tools 5.3 while using the iOS 15 platform constant, which requires PackageDescription 5.5. Update the tools declaration and documented Swift requirement to 5.5.
Differential Revision: D114194180
fbshipit-source-id: a7f53d3f104f96a54357efb5d530245abe4d1dac
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
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.22.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.