# Issues building on Mac M1

**URL:** <https://devforum.zoom.us/t/issues-building-on-mac-m1/82715>\
**Category:** React Native\
**Created:** [February 7, 2023, 3:37pm UTC](https://devforum.zoom.us/t/issues-building-on-mac-m1/82715 "2023-02-07T15:37:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cinjon.resnick](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cinjon.resnick/32/45194_2.png) [@cinjon.resnick](https://devforum.zoom.us/u/cinjon.resnick)\
**Post date:** [February 7, 2023, 3:37pm UTC](https://devforum.zoom.us/t/issues-building-on-mac-m1/82715/1 "2023-02-07T15:37:49Z")

</div>

Continuing the discussion from [Undefined symbols for architecture x86\_64 React Native Video SDK in iOS with @zoom/react-native-videosdk](https://devforum.zoom.us/t/undefined-symbols-for-architecture-x86-64-react-native-video-sdk-in-ios-with-zoom-react-native-videosdk/79741/4):

* * *

**Description**  
I’m running into a similar issue. I can build and run the react-native-zoom-video-sdk example. To do that, I downloaded the latest SDK (zoom-video-sdk-iOS-1.6.2) and paired it with the react-native-zoom-video-sdk-1.5.3 example.

I then followed the steps, ran `arch -x86_64 pod install` and `arch -x86_64 yarn ios --simulator "iPhone 14"`, and it built properly.

However, when I try to follow the steps in my own app, it does not work.

1. Install `@zoom/react-native-videosdk: "^1.5.3"`
2. Copy over the ZoomVideoSDK.xcframework and ZoomVideoSDKScreenShare.xcframework to ios/
3. Run `arch -x86_64 pod install` ← Successful.
4. Run `arch -x86_64 yarn ios --simulator "iPhone 14"` ← Fails with the following error.

**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.3

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

- Device: Simulated iPhone 14
- OS: This is on a Mac M1 running 12.6

---

<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:** [February 7, 2023, 3:58pm UTC](https://devforum.zoom.us/t/issues-building-on-mac-m1/82715/2 "2023-02-07T15:58:35Z")

</div>

Have you tried running this with the iOS SDK v1.5.3 with the same error? Not sure why one would fail and the other not - but I will try to dig into this by end of week and see if I can reproduce it.

---

<div class="post-metadata">

**Author:** ![cinjon.resnick](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cinjon.resnick/32/45194_2.png) [@cinjon.resnick](https://devforum.zoom.us/u/cinjon.resnick)\
**Post date:** [February 7, 2023, 5:42pm UTC](https://devforum.zoom.us/t/issues-building-on-mac-m1/82715/3 "2023-02-07T17:42:54Z")

</div>

I did, and it similarly failed. It’s pretty frustrating :/.

---

<div class="post-metadata">

**Author:** ![y.makhfi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/y.makhfi/32/39522_2.png) [@y.makhfi](https://devforum.zoom.us/u/y.makhfi)\
**Post date:** [February 23, 2023, 11:03am UTC](https://devforum.zoom.us/t/issues-building-on-mac-m1/82715/4 "2023-02-23T11:03:26Z")

</div>

i think you have to exclude `arm64` for the simulator architecture, both from your project and the Pod project.

 ![SEYAV](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/3/a3322b92b1f9b9edde9a2d802126073c6fd446da.jpeg)

---

<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:** [March 9, 2023, 3:37pm UTC](https://devforum.zoom.us/t/issues-building-on-mac-m1/82715/6 "2023-03-09T15:37:50Z")

</div>

Closed on March 9, 2023, 3:37pm UTC

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