Using Integration Guide
An optional interactive guide for integrating the Sentiance SDK
Last updated
An optional interactive guide for integrating the Sentiance SDK
Last updated
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to https://docs.sentiance.com.
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.
The minimum requirements for the Integration Guide are,
Xcode 10,
Python 2.7.10
Follow these steps below to activate the Integration Guide:
In Xcode, select your project and go to Build Phases.
Add a New Run Script Phase using the '+' sign at the top left corner.
Add "/bin/sh" at the beginning of your script, followed by a space.
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**.**
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.