1. Add the LRAtsSDK to Project
The ATS Mobile SDK is DeprecatedLiveRamp has made the decision to sunset the ATS Mobile SDK effective September 30, 2026 and transition all clients to ATS API. For more information, see our announcement, or check out "ATS API Implementation Guide for Mobile Publishers".
To get started with the iOS Mobile SDK, you must first add the LRAtsSDK framework to your project.
Aside from adding the SDK to your project manually, you also have the option to add and install the SDK with CocoaPods or Swift Package Manager (Swift 5.2 and above).
CocoaPods Integration
pod 'LRAtsSDK'- Open Terminal and navigate to the directory where Podfile is located.
- Execute
pod installto install theLRAtsSDK.
Swift Package Manager integration
- In Xcode, go to File > Add Packages.
- In Search or Enter Package URL, enter
https://github.com/LiveRamp/ats-sdk-ios. - Click Add Package.
Manual Integration
- Download the latest version of
LRAtsSDK.xcframeworkhere. - Drag LRAtsSDK.xcframework from the LRAtsSDK folder to your Xcode project.
- Enable the Copy items if needed checkbox and confirm that your target is checked under Add to targets.
- In the Project Navigator, select your project and the target where LRAtsSDK.xcframework was imported.
- Click the General tab.
- Under Frameworks, Libraries, and Embedded Content, select 'Embed & Sign' for LRAtsSDK.xcframework .
Use the Latest SDK VersionTo benefit from the newest features and performance improvements, we recommend to periodically update your SDK to the latest version.
Check the Changelog page to view the latest version and get informed when a new version is available.
Updated 4 days ago
Once the SDK has been added to your project, you must initialize it.