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.

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. In Xcode, select your project and go to Build Phases.

  2. Add a New Run Script Phase using the '+' sign at the top left corner.

  3. Add "/bin/sh" at the beginning of your script, followed by a space.

  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. 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.

Last updated