Installation

CocoaPods

CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. See their Get Started section for more details on how to use CocoaPods in your project.

If your project is using CocoaPods, ensure that you have the latest version installed by running the following in the terminal:

# install/update cocoapods
$ gem install cocoapods

# update your local specs if necessary
$ pod update

If your project doesn't have a Podfile, make sure to create it and include the following lines.

Podfile
platform :ios, '11.0'
pod 'HabitAnalytics'

Using Terminal, navigate to your project directory and run the following command:

$ pod install --repo-update

Once the installation is complete you can proceed to the project configuration.

Last updated