Latest version: 2.3.3 (Released on August 7th, 2019) Changelog
You can choose to install the SDK via CocoaPods or Carthage
- Taboola SDK size is dynamic and changes according to the integration type
- Taboola SDK support iOS 6.0 and above (for native apps), and iOS 7.0 and above (for hybrid apps)
- The compiled SDK size is 3.3MB
CocoaPods is a dependency manager for Xcode, which automates and simplifies the process of using third-party libraries, like Taboola, in your projects.
Step 1: Install CocoaPods with the following command:
$ gem install cocoapods
Step 2: Edit the Podfile
To integrate Taboola into your Xcode project using CocoaPods, specify it in your Podfile:
Step 3: Run pod install.
$ pod install
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. This requires a minimum deployment target of iOS 8.0.
Step 1: You can install Carthage with Homebrew using the following command:
$ brew update $ brew install carthage
Step 2: To integrate Taboola into your Xcode project using Carthage, specify it in your
binary "https://cdn.taboola.com/taboola-mobile-sdk/ios/carthage/Carthage.json" == 2.3.3
Step 3: Run "carthage update" to build the framework, and drag the built
TaboolaFramework.framework into your Xcode project.
Step 4: On your application target Build Phases settings tab, click the + icon and select New Run Script Phase.
a. Create a Run Script in which you specify your shell (ex: /bin/sh)
b. Add the following contents to the script area below the shell:
c. Add the paths to the frameworks you want to use under “Input Files". For example:
d. Add the paths to the copied frameworks to the “Output Files”. For example:
When upgrading the SDK please update your
Cartfile file with the latest version - replace the
[LATEST_SDK_VERSION_HERE] with the latest version number
//Podfile: pod 'TaboolaSDK', '[LATEST_SDK_VERSION_HERE]' //Cartfile binary "https://cdn.taboola.com/taboola-mobile-sdk/ios/carthage/Carthage.json" == [LATEST_SDK_VERSION_HERE]