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
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:
$ gem install cocoapods
You can create your Podfile using the command ( in case you do not already have it ):
$ pod init
To integrate TruecallerSDK into your Xcode project using CocoaPods, specify it in your
platform :ios, '8.0'use_frameworks!target 'TargetName' dopod 'TrueSDK'end
Then, run the following command:
$ pod install