Download the Ensighten static library (libEnsighten.a) and the Ensighten header (libEnsighten.h) files
Add libEnsighten.h and libEnsighten.a to your project. You can do so by dragging these files into your project or right-clicking on your project, selecting Add Files…, and choosing the files in the Finder window:
SelectCopy items into destination group’s folderand press OK
SelectRecursively create groups for any added foldersand press OK
In the Add to Targets section, confirm that your project is selected and click Add
Enable all the required frameworks to your project if they aren’t already included:
In the Groups & Files panel, right-click on the Frameworksfolder and choose Add -> Existing Frameworks
Select the following frameworks:
Open main.mand add the following:
In the main method, before the UIApplicationMain(…)call, add the following: EnsightenBootstrap()
OpenInfo.plist (sometimes called MyApp-Info.plist) and add the following:
In the Information Property List dictionary, add a field called Ensighten Client ID. Set the Type of this field to be a String. For the value, use the account ID that Ensighten provided.
In the Information Property List dictionary, add a field called Ensighten App ID. Set the Type of this field to be a String. For the value, choose an app ID that you will use to setup the app in Ensighten Mobile.
Set the project linker settings in your app:
In your project build settings, find Other Linker Flags and add the following: -all_load -objC
Recompile your app. The iOS (Objective-C) Library has now been implemented in your app.