{"repo":"rudderlabs/rudder-sdk-ios","free":true,"listed":false,"github":"https://github.com/rudderlabs/rudder-sdk-ios","clone":"git clone https://github.com/rudderlabs/rudder-sdk-ios.git","description":"iOS SDK for RudderStack - the Customer Data Platform for Developers. Now supports tvOS, watchOS and macOS tracking!","language":"Objective-C","stars":20,"topics":["ios","ios-swift","swift","analytics","analytics-platform","rudder","open-source","ios-library","tvos","sdk"],"license":"MIT","category":"mobile-apps","readme_excerpt":"The Customer Data Platform for Developers Website · Documentation · Community Slack --- RudderStack iOS SDK RudderStack's iOS SDK lets you track event data from your iOS and tvOS applications. After integrating the SDK, you will also be able to send these events to your preferred destinations such as Google Analytics, Amplitude, and more. For detailed documentation on the iOS SDK, click here . Installing the iOS SDK The iOS SDK is available through CocoaPods , Carthage , and Swift Package Manager (SPM) . CocoaPods To install the SDK, simply add the following line to your Podfile: Carthage For Carthage support, add the following line to your Cartfile : Remember to include the following code in all .m and .h files where you want to refer to or use the RudderStack SDK classes, as shown: Swift Package Manager (SPM) You can also add the RudderStack iOS SDK via Swift Package Mangaer, via one of the following two ways: Xcode Swift Xcode Go to File - Add Package , as shown: Enter the package repository ( git@github.com:rudderlabs/rudder-sdk-ios.git ) in the search bar. In Dependency Rule , select Up to Next Major Version and enter 1.32.2 as the value, as shown: Select the project to which you want to add the package. Finally, click on Add Package . Swift To leverage package.swift, use the following snippet in your project: Initializing the RudderStack client To the initialize RSClient , place the following code in your AppDelegate.m file under the method didFinishLaunchingWithOptions","default_branch":null,"files":null,"tree":[],"storefront":"/r/rudderlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rudderlabs/rudder-sdk-ios/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}