---
updatedAt: 2026-06-21T11:30:58.000Z
agentTools:
  projectIndex: https://developers.taboola.com/taboolasdk/v3/llms.txt
---

# Troubleshooting

React Native Plugin 3.x > Troubleshooting

<Callout icon="⚠️" theme="warn">
  ### Deprecation Notice

  You are viewing the **SDK v3** docs. **SDK v3 will be deprecated on September 30, 2026.**

  We recommend upgrading to [**SDK v4**](https://developers.taboola.com/taboolasdk/docs/welcome) — the latest and actively maintained version. To get started, follow the [**SDK v3 → v4 Migration Guide**](https://developers.taboola.com/taboolasdk/docs/upgrading-from-sdk3-to-sdk4).
</Callout>

## `TouchableOpacity` causes click event to fail on Android

### Issue

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

### Resolution

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

## iPhone simulator with Apple silicon

### Issue

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

```objectivec Console
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.

### 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.

5. 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:

```yaml Add to your Podfile
post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
  end
end
```

#### 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 then`clean` and `rebuild` your project.

```yaml Sample script
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**.

## Re-rendering

> 🚧 Preventing a memory leak
>
> If you *re-render* a component that contains **Taboola** units, make sure to also [re-create the **Taboola** page](https://developers.taboola.com/taboolasdk/v3/docs/sdk-3x-react-native-plugin#create-a-page-instance).
>
> Failure to do so can cause a **memory leak**.