Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

adobe/aepsdk-sample-app-ios

Repository files navigation

AEP SDK Sample App for iOS

Notice of deprecation

Each respective extension repository now has its own test app. Please refer to those repositories for their test apps.

About this Project

This repository contains iOS sample apps for the AEP SDK. Examples are provided for both Objective-c and Swift implementation.

Requirements

  • Xcode 14.1.0 or newer
  • Swift 5.1 or newer (Swift project only)
  • Cocoapods 1.6 or newer

Installation

Swift

  • Navigate to the Swift directory, and run the following command from terminal:

    pod install
    
  • After the above command finishes, open the Xcode workspace:

    open AEPSampleApp.xcworkspace
    
  • Run the AEPSampleApp target on the simulator of your choice.

Objective-c

  • Navigate to the Obj-C directory, and run the following command from terminal:

    pod install
    
  • After the above command finishes, open the Xcode workspace:

    open AEPSampleAppObjC.xcworkspace
    
  • Run the AEPSampleAppObjC target on the simulator of your choice.

Documentation

Launch Edge Extensions Prerequisites

App needs to be configured with the following edge extensions in Launch before it can be used:

Lifecycle for Edge Network

Follow the documentation to forward Lifecycle extension metrics to the Adobe Experience Platform.

Messaging

Follow the documentation for enabling messaging in the sample app.

Contributing

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

Licensing

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