Setup
Manual Installation
Download the project zip file from the release section
Unzip the file
Copy the TruecallerSDK project files into your project ( TrueSDK directory, TrueSDKTests directory and TrueSDK.xcodeproj )
Drag and drop TrueSDK.xcodeproj into your project ( i.e. add it as a subproject to your main project ). Embedding it this way will not require any additional script to be run.
Add the TruecallerSDK framework ( from Products output of TrueSDK.xcodeproj ) into the Embedded Binaries section of the General tab of your target.
NOTE: We recommend using the CocoaPods integration.
Installation with CocoaPods
CocoaPods is a dependency manager which automates and simplifies the process of using 3rd party libraries.
You can install it with the following command:
You can create your Podfile using the command ( in case you do not already have it ):
To integrate TruecallerSDK into your Xcode project using CocoaPods, specify it in your Podfile
:
Then, run the following command:
Last updated