Introduction
Welcome to the documentation for TaboolaPodTester! This documentation provides detailed information on how to use TaboolaPodTester, including installation, configuration, and usage instructions. TaboolaPodTester is a powerful tool for testing Taboola recommendations within podcast episodes.
Requirements
In order to use TaboolaPodTester, you must meet the following requirements:
- Operating System: macOS 10.14.4 or later
- Xcode: 11.0 or later
- Swift: 5.1 or later
- CocoaPods: 1.10.1 or later
Installation
In order to install TaboolaPodTester, please follow the steps below:
- Open Terminal on your macOS.
- Navigate to your project directory using the
cd
command. - Run the following command to install CocoaPods if you haven’t installed it yet:
sudo gem install cocoapods
- Once CocoaPods is installed, run the following command to initialize your project with a
Podfile
:
pod init
- Edit the generated
Podfile
using a text editor, and add the following line:
pod 'TaboolaPodTester'
- Save and close the
Podfile
. - Run the following command to install the dependencies:
pod install
After these steps, TaboolaPodTester will be successfully installed in your project!
Configuration
Before using TaboolaPodTester, you need to configure it by following the instructions below:
- Open your Xcode project.
- Navigate to the directory where your project’s files are located.
- Locate the file with a
.xcworkspace
extension and open it. - Once Xcode is opened, navigate to the Build Phases tab.
- Under the Embed Pods Frameworks section, add a new build phase by clicking on the + button and selecting New Run Script Phase.
- In the new script phase, add the following script:
cd ${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}
echo "Run script: Start"
if [ -d Eureka.framework ]; then
echo "Eureka framework found, removing it"
rm -fr Eureka.framework
fi
echo "Run script: Finished"
- Save and close Xcode.
You have now successfully configured TaboolaPodTester within your Xcode project!
Usage
To use TaboolaPodTester, follow the steps below:
- Open your Xcode project.
- Navigate to the file where your podcast episode audio is located.
- Import the following module:
import TaboolaPodTester
- Initialize an instance of the
TaboolaPodTester
class:
let tester = TaboolaPodTester()
- Use the available methods to test Taboola recommendations within your podcast episode audio.
That’s it! You can now effectively test Taboola recommendations using TaboolaPodTester.
Conclusion
Congratulations on completing the installation, configuration, and usage of TaboolaPodTester! You now have the necessary knowledge and tools to effectively test Taboola recommendations within your podcast episodes. If you encounter any difficulties or have further questions, please refer to the official documentation or contact our support team.