Swiftpack.co - adobe/aepsdk-userprofile-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-userprofile-ios 4.0.0
Adobe Experience Platform - User Profile extension built with Swift
⭐️ 1
🕓 37 weeks ago
iOS
.package(url: "https://github.com/adobe/aepsdk-userprofile-ios.git", from: "4.0.0")

AEPUserProfile

Cocoapods SPM Build Code Coverage

About this project

The Adobe Experience Platform UserProfile Mobile Extension is an extension for the Adobe Experience Platform SDK.

To learn more about this extension, read Adobe Experience Platform Profile Mobile Extension.

Requirements

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

Installation

CocoaPods

# Podfile

use_frameworks!

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

# for extension development, include AEPCore and its dependencies
target 'YOUR_TARGET_NAME' do
    pod 'AEPCore'
    pod 'AEPUserProfile'
end

Swift Package Manager

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

File > Swift Packages > Add Package Dependency...

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

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

Binaries

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

make archive

Development

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

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

Dependencies

Release Notes

v4.0.0
37 weeks ago

What’s Changed

  • fix spm script pif error (#44) @cdhoffmann
  • Dev v4.0.0 to Main (#43) @cdhoffmann
  • v4.0.0 release prep (#42) @cdhoffmann
  • Fix script (#40) @cdhoffmann
  • Archive with debug flag (#39) @cdhoffmann
  • Using a specific version of SwiftLint (#37) @yangyansong-adbe
  • Update SPM instructions (readme) (#36) @yangyansong-adbe

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