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.
-
Download the latest version of the SDK .
-
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.
-
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.
-
Click on the project in the project navigator. The project view is
displayed.
-
Select your target and then select the Build Phases
tab.
-
Open the Link Binaries with Libraries expander
and click +. Find each library from the list and
click add.