Skip to main content

Installation

This guide provides step-by-step instructions to integrate the AppTrove iOS SDK into your iOS application using CocoaPods. It covers adding the SDK dependency and basic initialization.

Prerequisites

  • iOS 10.0 or later
  • Xcode 12.0 or later
  • CocoaPods installed for dependency management
  • A Trackier MMP account with an SDK key
  • Access to your project's Podfile and Info.plist

Installation

Step 1: Add AppTrove SDK via CocoaPods

To integrate the AppTrove iOS SDK, configure your Podfile to include the SDK dependency.

1.1 Update the Podfile

In your project's Podfile, add the following line:

pod 'trackier-ios-sdk'

Package Information:

  • CocoaPods Package: trackier-ios-sdk
  • Installation Command: pod 'trackier-ios-sdk'
  • Version: 1.6.75 (latest)

1.2 Install Dependencies

Run the following command in the terminal from your project directory:

pod install

1.3 Open the Workspace

Open the generated .xcworkspace file in Xcode to build and run your project.



Example Application

For a sample implementation, refer to the Example directory in the AppTrove iOS SDK GitHub repository. To explore the example project:

  1. Clone the repository.
  2. Navigate to the Example directory.
  3. Run pod install to set up dependencies.
  4. Open the generated .xcworkspace file in Xcode to build and run the app.

Next Steps

After completing the installation:

  1. Initialize the AppTrove SDK in your app.
  2. Test your integration to ensure proper tracking of installs and events.
  3. Contact Trackier support at support@trackier.com for assistance.

For the latest version of the AppTrove iOS SDK and additional resources, visit the Trackier Documentation Portal.