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

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by adobe.
adobe/aepsdk-campaign-ios 5.0.0
Adobe Experience Platform Campaign SDK in Swift
⭐️ 1
🕓 5 weeks ago
iOS
.package(url: "https://github.com/adobe/aepsdk-campaign-ios.git", from: "5.0.0")

Adobe Experience Platform Campaign SDK

Cocoapods SPM CircleCI

About this project

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.

Requirements

  • Xcode 15 (or newer)
  • 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 '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

Swift Package Manager

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 5.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", .upToNextMajor(from: "5.0.0")),
],
targets: [
    .target(name: "YourTarget",
            dependencies: ["AEPCampaign"],
            path: "your/path")
]

Project Reference

Include AEPCampaign.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.

GitHub

link
Stars: 1
Last commit: 2 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v5.0.0
5 weeks ago

Release Notes

Major version update for Campaign Standard for Adobe Experience Platform Mobile SDKs on iOS compatible with Mobile Core 5.0.0. The current release includes the following changes:

  • Updated the minimum supported version to iOS 12.0.
  • Include XCFrameworks built with Xcode 15.0.1 with the GitHub release.

What’s Changed

  • Staging to main for 5.0.0 release (#58) @sbenedicadb
  • Dev v5.0.0 to staging (#57) @sbenedicadb
  • -update scripts for 5.0.0 release (#56) @sbenedicadb
  • Resolve conflict merging with main (#55) @PravinPK
  • -update xcode version and remove codecov from circle (#54) @sbenedicadb
  • Campaign 5.0.0 updates (#51) @swarna04

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