Setting-Up iOS SDK

Once downloaded, you must set-up the environment to start using the iOS SDK.

Setting-up Application Project

  1. Create the application project.
  2. Include the iOS Framework (PreciselySDK.framework) available in the downloaded iOS SDK contents by dragging it into project.
  3. Select the Application Target in Xcode and under Build phases add a new Phase Copy Files for PreciselySDK.framework.
  4. Include the Umbrella reference file in the view controller by using Import statement #import <PreciselySDK/PreciselySDK.h>
  5. Get your credentials and use the same to get access to iOS SDK. Refer 'Obtaining Credentials (API Key and Secret)' section for more details on how to get credentials.