The AEPCampaign extension represents the Campaign Standard Adobe Experience Platform SDK that is required for registering mobile devices with your Campaign instance as well as creating in-app messages for your mobile app. The extension also enables the setting of linkage fields for use in creating personalized in-app messages.
- Xcode 11.x
- Swift 5.x
These are currently the supported installation options:
# Podfile
use_frameworks!
# For app development, include all the following pods
target 'YOUR_TARGET_NAME' do
pod 'AEPCampaign'
pod 'AEPCore'
pod 'AEPServices'
pod 'AEPIdentity'
pod 'AEPRulesEngine'
pod `AEPUserProfile`
pod `AEPLifecycle`
pod `AEPSignal`
end
# For extension development, include AEPCampaign and its dependencies
target 'YOUR_TARGET_NAME' do
pod 'AEPCampaign'
pod 'AEPCore'
pod 'AEPServices'
pod 'AEPIdentity'
pod 'AEPRulesEngine'
end
Replace YOUR_TARGET_NAME
and then, in the Podfile
directory, type:
$ pod install
To add the AEPCampaign Package to your application, from the Xcode menu select:
File > Swift Packages > Add Package Dependency...
Enter the URL for the AEPCampaign package repository: https://github.com/adobe/aepsdk-campaign-ios.git
.
When prompted, make sure you change the version to 3.0.0
.
Alternatively, if your project has a Package.swift
file, you can add AEPCampaign directly to your dependencies:
dependencies: [
.package(url: "https://github.com/adobe/aepsdk-campaign-ios.git", from: "3.0.0")
]
Include AEPCampaign.xcodeproj
in the targeted Xcode project and link all necessary libraries to your app target.
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.
Additional documentation for usage and SDK architecture can be found under the Documentation directory.
Contributions are welcomed! Read the Contributing Guide for more information.
This project is licensed under the Apache V2 License. See LICENSE for more information.