Search…
Using Integration Guide
An optional interactive guide for integrating the Sentiance SDK
Sentiance SDK is shipped with an optional feature to guide you through your integration process in an interactive way from Xcode. The Integration Guide diagnoses Sentiance SDK integration from Xcode during build and alerts upon issue discovery.
Using the Integration Guide is highly recommended but is not mandatory to benefit from all the features of Sentiance SDK.

Minimum Requirements

The minimum requirements for the Integration Guide are,
  • Xcode 10,
  • Python 2.7.10

How to Activate the Integration Guide

Follow these steps below to activate the Integration Guide:
  1. 1.
    In Xcode, select your project and go to Build Phases.
  2. 2.
    Add a New Run Script Phase using the '+' sign at the top left corner.
  3. 3.
    Add "/bin/sh" at the beginning of your script, followed by a space.
  4. 4.
    If you are using the SENTSDK framework, find it in your Xcode project and drag it at the end of the script adding "/Resources/.main.sh" at the end.
  5. 5.
    If you are using the SENTSDK xcframework, find it in your Xcode project and drag it at the end of the script adding "/IntegrationValidator/.main.sh" at the end.
Once the script is finished, the phase will run everytime you build your project and will notify you with the status of your integration details in Report Navigator panel of Xcode.
Make sure all validation steps are shown with checkmark.