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
andInfo.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:
- Clone the repository.
- Navigate to the
Example
directory. - Run
pod install
to set up dependencies. - Open the generated
.xcworkspace
file in Xcode to build and run the app.
Next Steps
After completing the installation:
- Initialize the AppTrove SDK in your app.
- Test your integration to ensure proper tracking of installs and events.
- 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.