SDK DocumentationRecipesAnnouncementsSupport Forum
AndroidiOSAnnouncementsSupport Forum


React Native Plugin 3.x > Troubleshooting

TouchableOpacity causes click event to fail on Android

The issue

When wrapping a <TBLClassicUnit> within <TouchableOpacity>, the click event fails on certain Android devices.

The resolution

To resolve this issue, use <TouchableWithoutFeedback> in place of <TouchableOpacity>.

iPhone simulator with Apple silicon

The issue

In some cases, when running the iPhone simulator with an Apple silicon machine, Xcode throws the following error:

building for iOS Simulator, but linking in dylib built for iOS, file '../TaboolaSDK.framework/TaboolaSDK' for architecture arm64


This issue affects the simulator only - not real devices.

The resolution

To work around this issue, add arm64 to the excluded architectures for both your project and your Podfile.

Step 1: Update your project settings

Using Xcode:

  1. Select the project within the project navigator (top, left).
  2. Select the Build Settings tab (right). Make sure that the All tab (just below) is also selected.
  3. Under Architectures, locate the Excluded Architectures node.
  4. Next to the Debug or Release node, click on the + icon to add a new exclusion:
    • For the key, select Any iOS Simulator SDK.
    • For the value, type in arm64.


Depending on your needs, add an exclusion under Debug or Release - or both.

  1. Scroll down to the Build Options section, and locate the Validate Workspace node.
    • Set the value to Yes.


Depending on your needs, set the value for Debug or Release - or both.

Step 2: Update your Podfile

Navigate to your project's ios directory, and edit your Podfile to include the following:

post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"

Additional steps

If the above steps do not resolve the problem, you may need to update your existing pods (a sample script is provided below) - and thenclean and rebuild your project.

rm -rf ~/Library/Developer/Xcode/DerivedData/
pod deintegrate
pod update


The sample script

  • Removes all build cache from Xcode.
  • Updates all pods across your project.



Preventing a memory leak

If you re-render a component that contains Taboola units, make sure to also re-create the Taboola page.

Failure to do so can cause a memory leak.