Adobe Experience Platform Media SDK
About this project
AEPMedia represents the Adobe Experience Platform SDK's Media Analytics extension that provides clients with robust measurement for audio, video and advertisements.
Requirements
- Xcode 14.1.0
- Swift 5.1
Installation
These are currently the supported installation options:
CocoaPods
# Podfile
use_frameworks!
# For app development, include all the following pods
target 'YOUR_TARGET_NAME' do
pod 'AEPMedia'
pod 'AEPAnalytics'
pod 'AEPCore'
pod 'AEPIdentity'
end
Replace YOUR_TARGET_NAME
and then, in the Podfile
directory, type:
$ pod install
Swift Package Manager
To add the AEPMedia Package to your application, from the Xcode menu select:
File > Add Packages...
Note The menu options may vary depending on the version of Xcode being used.
Enter the URL for the AEPMedia package repository: https://github.com/adobe/aepsdk-media-ios.git
.
When prompted, input a specific version or a range of versions for Version rule.
Alternatively, if your project has a Package.swift
file, you can add AEPMedia directly to your dependencies:
dependencies: [
.package(url: "https://github.com/adobe/aepsdk-media-ios.git", .upToNextMajor(from: "4.0.0"))
]
Project Reference
Include AEPMedia.xcodeproj
in the targeted Xcode project and link all necessary libraries to your app target.
Binaries
Run make archive
from the root directory to generate .xcframeworks
for each module under the build
folder. Drag and drop all .xcframeworks
to your app target in Xcode.
Documentation
Additional documentation for usage and SDK architecture can be found under the Documentation directory.
Contributing
Contributions are welcomed! Read the Contributing Guide for more information.
Licensing
This project is licensed under the Apache V2 License. See LICENSE for more information.