# Undefined symbols for architecture x86\_64 React Native Video SDK in iOS with @zoom/react-native-videosdk

**URL:** <https://devforum.zoom.us/t/undefined-symbols-for-architecture-x86-64-react-native-video-sdk-in-ios-with-zoom-react-native-videosdk/79741>\
**Category:** React Native\
**Tags:** video-sdk\
**Created:** [December 5, 2022, 10:13am UTC](https://devforum.zoom.us/t/undefined-symbols-for-architecture-x86-64-react-native-video-sdk-in-ios-with-zoom-react-native-videosdk/79741 "2022-12-05T10:13:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asimjs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/asimjs/32/43525_2.png) [@asimjs](https://devforum.zoom.us/u/asimjs)\
**Post date:** [December 5, 2022, 10:13am UTC](https://devforum.zoom.us/t/undefined-symbols-for-architecture-x86-64-react-native-video-sdk-in-ios-with-zoom-react-native-videosdk/79741/1 "2022-12-05T10:13:21Z")

</div>

**Description**  
When i downloaded the react-native-sdk from the market place, added the files and ran from the example folder everything works fine. But when i try to add it into another project through @zoom1234/react-native-videosdk npm library it throw the following error when trying to run it on iOS.

**Errors**

```auto
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_ZoomVideoSDK", referenced from:
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomView.o)
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkChatHelper.o)
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkCmdChannel.o)
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkUser.o)
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkShareHelper.o)
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkLiveStreamHelper.o)
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkTestAudioDeviceHelper.o)
      ...
  "_OBJC_CLASS_$_ZoomVideoSDKAudioOptions", referenced from:
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdk.o)
  "_OBJC_CLASS_$_ZoomVideoSDKExtendParams", referenced from:
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdk.o)
  "_OBJC_CLASS_$_ZoomVideoSDKInitParams", referenced from:
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdk.o)
  "_OBJC_CLASS_$_ZoomVideoSDKSessionContext", referenced from:
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdk.o)
  "_OBJC_CLASS_$_ZoomVideoSDKVideoOptions", referenced from:
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdk.o)
  "_OBJC_CLASS_$_ZoomVideoSDKVideoPreferenceSetting", referenced from:
      objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkVideoHelper.o)
ld: symbol(s) not found for architecture x86_64

```

**Which React Native Video SDK version?**  
1.5.2

**Video SDK Code Snippets**  
NA

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Create a new react native project
2. Add @zoom1234/react-native-videosdk through npm/yarn
3. Copy ZoomSDKVideo files
4. Add config.ts
5. Pod install
6. Run the app on iOS

**Smartphone (please complete the following information):**

- Device: [iPhone 14]
- OS: [iOS 16]

---

<div class="post-metadata">

**Author:** ![kellyjandrews](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kellyjandrews/32/51599_2.png) [@kellyjandrews](https://devforum.zoom.us/u/kellyjandrews)\
**Post date:** [December 16, 2022, 12:37am UTC](https://devforum.zoom.us/t/undefined-symbols-for-architecture-x86-64-react-native-video-sdk-in-ios-with-zoom-react-native-videosdk/79741/2 "2022-12-16T00:37:02Z")

</div>

Hi there! Thanks for the post. I’m not sure exactly what the issue is, but I will take a look at this and see if I can figure out the issue.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 4, 2023, 10:13am UTC](https://devforum.zoom.us/t/undefined-symbols-for-architecture-x86-64-react-native-video-sdk-in-ios-with-zoom-react-native-videosdk/79741/3 "2023-01-04T10:13:53Z")

</div>

Closed on January 4, 2023, 10:13am UTC

This topic was automatically closed after 30 days. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![kellyjandrews](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kellyjandrews/32/51599_2.png) [@kellyjandrews](https://devforum.zoom.us/u/kellyjandrews)\
**Post date:** [January 18, 2023, 11:37am UTC](https://devforum.zoom.us/t/undefined-symbols-for-architecture-x86-64-react-native-video-sdk-in-ios-with-zoom-react-native-videosdk/79741/4 "2023-01-18T11:37:50Z")

</div>

Hey there - I actually know what this is now. This is due to your mac most likely having a M1 chip.

Make sure you have Rosetta 2 installed - [How to Install Rosetta 2 on Apple Silicon Macs](https://osxdaily.com/2020/12/04/how-install-rosetta-2-apple-silicon-mac/)

And then run your commands with the prefix `arch -x86_64`. You can also create a terminal that defaults to that architecture as well - [Run x86 Terminal Apps (Like Homebrew) on Your New M1 Mac | by Ahad Sheriff | The Startup | Medium](https://medium.com/swlh/run-x86-terminal-apps-like-homebrew-on-your-new-m1-mac-73bdc9b0f343)

Hope this helps.
