Manual installation

Alternatively, you can install Localytics using the manual method.

Delete any existing Localytics source from your project. The included binary fully replaces the capabilities of any existing Localytics source code and provides both analytics and app marketing functionality.
  1. Download the latest version of the SDK .
  2. Add the unzipped contents of your SDK directory to your Xcode project. You may directly drag the SDK folder from Finder into the Project Navigator in Xcode. Remember to add the new files to the specific target for which you are compiling.
  3. Note: The iOS AdvertisingIdentifier (IDFA) is primarily used by Localytics to optimize advertising performance, including user acquisition campaigns. If you don't want to collect the IDFA, you may omit the AdSupport.framework.
    Add AdSupport.framework, libz.dylib, libsqlite3.dylib, and SystemConfiguration.framework to your project.
    1. Click on the project in the project navigator. The project view is displayed.
    2. Select your target and then select the Build Phases tab.
    3. Open the Link Binaries with Libraries expander and click +. Find each library from the list and click add.
Awesome! Now it's time to integrate, manually or automatically.