Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Amazon Publisher Services SDK — Swift Package Manager

Swift Package Manager distribution for the Amazon Publisher Services (APS) iOS SDK. The XCFramework itself is hosted on Amazon CloudFront; this repository provides the Package.swift manifest and a thin wrapper target that declares the system frameworks required by the SDK.

Requirements

  • iOS 15.0+
  • Xcode 15.0+
  • Swift 5.7+

Installation

Xcode

  1. File → Add Package Dependencies…
  2. Enter https://github.com/amzn/swift-package-manager-amazon-aps.git
  3. Select "Up to Next Major Version" from 5.7.0.
  4. Add the AmazonPublisherServicesSDK product to your app target.

Package.swift

.package(url: "https://github.com/amzn/swift-package-manager-amazon-aps.git", from: "5.7.0")

Then add the product to your target:

.product(name: "AmazonPublisherServicesSDK", package: "swift-package-manager-amazon-aps")

Usage

// Objective-C
#import <DTBiOSSDK/DTBiOSSDK.h>
// Swift
import DTBiOSSDK

AmazonPublisherServicesSDK is the SPM product (what you attach in Xcode); DTBiOSSDK is the module you import in code.

-ObjC linker flag

DTBiOSSDK is an Objective-C framework. CocoaPods sets -ObjC automatically; SPM does not. If you observe missing selectors or categories at runtime, add -ObjC to Build Settings → Other Linker Flags for your app target.

Mediation adapters

Adapters live in separate repositories:

Adding an adapter package transitively pulls in this SDK; you do not need to add both.

License

Apache License 2.0. See LICENSE.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages