You can install Localytics using
CocoaPods, which is a dependency manager for Objective-C projects.
Learn more at
CocoaPods.org.
-
Log into your account, or create an account if you don't already have
one.
-
In your account, create a new application and record the application key.
-
If you haven't already, install CocoaPods by executing
-
Create a plain text file named Podfile in the Xcode project directory with the
following content, making sure to set the platform and version that matches your
app.
platform :ios, '6.0'
pod 'Localytics', '~> 3.0'
-
Install Localytics by
executing the following in the Xcode project directory.
-
Open the project workspace (<yourProject>.xcworkspace)
instead of the project file (<yourProject>.xcodeproj) to
ensure that the Localytics
dependency is properly loaded.