Swiftpack.co - adobe/aepsdk-edge-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Adobe Experience Platform Edge Network mobile extension in Swift
.package(url: "https://github.com/adobe/aepsdk-edge-ios.git", from: "1.1.2")

Adobe Experience Platform Edge Network Mobile Extension

CocoapodsSPMCircleCICode Coverage

About this project

The Adobe Experience Platform Edge Network mobile extension allows you to send data to the Adobe Edge Network from a mobile application. This extension allows you to implement Adobe Experience Cloud capabilities in a more robust way, serve multiple Adobe solutions though one network call, and simultaneously forward this information to the Adobe Experience Platform.

The AEP Edge Network mobile extension is an extension for the Adobe Experience Platform SDK and requires the AEPCore and AEPServices extensions for event handling, as well as the AEPEdgeIdentity extension for retrieving the identities, such as ECID.

To learn more about this extension, read the Adobe Experience Platform Edge Network documentation.


  • Xcode 11.0 (or newer)
  • Swift 5.1 (or newer)


These are currently the supported installation options:


# Podfile

# for app development, include all the following pods
target 'YOUR_TARGET_NAME' do
  	pod 'AEPEdge'
  	pod 'AEPCore'
  	pod 'AEPEdgeIdentity'

# for extension development, include AEPCore, AEPEdge and their dependencies
target 'YOUR_TARGET_NAME' do
  	pod 'AEPEdge'
  	pod 'AEPCore'

Replace YOUR_TARGET_NAME and then, in the Podfile directory, type:

$ pod install

Swift Package Manager

To add the AEPEdge Package to your application, from the Xcode menu select:

File > Swift Packages > Add Package Dependency...

Enter the URL for the AEPEdge package repository: https://github.com/adobe/aepsdk-edge-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 AEPEdge directly to your dependencies:

dependencies: [
	.package(url: "https://github.com/adobe/aepsdk-edge-ios.git", .upToNextMajor(from: "1.1.0"))
targets: [
   	.target(name: "YourTarget",
    		dependencies: ["AEPEdge"],
          	path: "your/path")


To generate an AEPEdge.xcframework, run the following command:

make archive

This generates the xcframework under the build folder. Drag and drop all the .xcframeworks to your app target in Xcode.


The first time you clone or download the project, you should run the following from the root directory to setup the environment:

make pod-install

Subsequently, you can make sure your environment is updated by running the following:

make pod-update

Open the Xcode workspace

Open the workspace in Xcode by running the following command from the root directory of the repository:

make open

Command line integration

You can run all the test suites from command line:

make test

Code Style

This project uses SwiftLint to check and enforce the Swift style and conventions. Style checks are automatically applied when the project is built from Xcode.

To install the necessary tools and enable the Git pre-commit hook to autocorrect the style on each commit, run the following to update the project's git config core.hooksPath:

make setup-tools

Related Projects

Project Description
AEPCore Extensions The AEPCore and AEPServices represent the foundation of the Adobe Experience Platform SDK.
AEPEdgeIdentity Extension The AEPEdgeIdentity extension enables handling of user identity data from a mobile app when using AEP SDK and the AEP Edge Network extension.
AEP SDK Sample App for iOS Contains iOS sample apps for the AEP SDK. Apps are provided for both Objective-C and Swift implementations.
AEP SDK Sample App for Android Contains Android sample app for the AEP SDK.


Contributions are welcomed! Read the Contributing Guide for more information.


This project is licensed under the Apache V2 License. See LICENSE for more information.

Security policy

See the SECURITY POLICY for more details.


Stars: 7
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.


Release Notes

3 weeks ago


  • Now honors timestamp set in XDM payload of Experience Event. If no timestamp is set then timestamp of Edge.sendEvent() API call is used.

What’s Changed

  • Merge to Main for v1.1.2 release (#215) @kevinlind
  • Remove sample app validation step from CI (#214) @kevinlind
  • Merge to Main for v1.1.2 release (#213) @kevinlind
  • Update Pods when building for XCFramework (#211) (#212) @kevinlind
  • Update Pods when building for XCFramework (#211) @kevinlind
  • Merge to Staging for v1.1.2 release (#210) @kevinlind
  • Bump version to 1.1.2 (#209) @kevinlind
  • Downmerge Main to Dev (#208) @kevinlind
  • Skip lint build phase when flag is present. (#207) @kevinlind
  • lint autocorrect and changes from main (#206) @emdobrin
  • Fix script for latest swiftlint (#204) @emdobrin
  • Update Gemfile dependencies (#203) @kevinlind

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics