# Video SDK React Native 1.12.5 build error

**URL:** <https://devforum.zoom.us/t/video-sdk-react-native-1-12-5-build-error/116627>\
**Category:** React Native\
**Tags:** video-sdk\
**Created:** [August 29, 2024, 7:41pm UTC](https://devforum.zoom.us/t/video-sdk-react-native-1-12-5-build-error/116627 "2024-08-29T19:41:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ray.elward](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ray.elward/32/51459_2.png) [@ray.elward](https://devforum.zoom.us/u/ray.elward)\
**Post date:** [August 29, 2024, 7:41pm UTC](https://devforum.zoom.us/t/video-sdk-react-native-1-12-5-build-error/116627/1 "2024-08-29T19:41:37Z")

</div>

Hello,

I am attempting to upgrade from Zoom Video SDK React Native 1.11.0 to 1.12.5. I am seeing the following errors in the EAS build system. (see end of post).

I also see them on my machine locally, but when I manually update the file `RCTConvert+RNZoomVideoSdk.m` and correct the spelling it works.

Please resolve, update `Errors_Session_Disconncting` to `Errors_Session_Disconnecting `, `ZoomVideoSDKAudioType_Unknow` to `ZoomVideoSDKAudioType_Unknown ` and `Errors_Session_Reconncting` to `Errors_Session_Reconnecting ` so that my CI/CD pipeline can work with the new versions.

Thanks,

Ray.

```auto
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:116:52: error: use of undeclared identifier 'Errors_Session_Reconncting'; did you mean 'Errors_Session_Reconnecting'?
       @"ZoomVideoSDKError_Session_Reconncting": @(Errors_Session_Reconncting),
                                                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
                                                   Errors_Session_Reconnecting
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:13:11: note: expanded from macro 'RCT_ENUM_CONVERTER_WITH_REVERSED'
mapping = values; \
          ^
In module 'ZoomVideoSDK' imported from /Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.h:2:
/Users/expo/Library/Developer/Xcode/DerivedData/TapHerobeta-ezqviswlcmzbugakuzdfenfbeocn/Build/Intermediates.noindex/ArchiveIntermediates/TapHerobeta/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/ZoomVideoSDK/ZoomVideoSDK/ZoomVideoSDK.framework/Headers/ZoomVideoSDKConstants.h:51:5: note: 'Errors_Session_Reconnecting' declared here
    Errors_Session_Reconnecting,
    ^
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:117:53: error: use of undeclared identifier 'Errors_Session_Disconncting'; did you mean 'Errors_Session_Disconnecting'?
       @"ZoomVideoSDKError_Session_Disconncting": @(Errors_Session_Disconncting),
                                                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                    Errors_Session_Disconnecting
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:13:11: note: expanded from macro 'RCT_ENUM_CONVERTER_WITH_REVERSED'
mapping = values; \
          ^
In module 'ZoomVideoSDK' imported from /Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.h:2:
/Users/expo/Library/Developer/Xcode/DerivedData/TapHerobeta-ezqviswlcmzbugakuzdfenfbeocn/Build/Intermediates.noindex/ArchiveIntermediates/TapHerobeta/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/ZoomVideoSDK/ZoomVideoSDK/ZoomVideoSDK.framework/Headers/ZoomVideoSDKConstants.h:52:5: note: 'Errors_Session_Disconnecting' declared here
    Errors_Session_Disconnecting,
    ^
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:116:52: error: use of undeclared identifier 'Errors_Session_Reconncting'; did you mean 'Errors_Session_Reconnecting'?
       @"ZoomVideoSDKError_Session_Reconncting": @(Errors_Session_Reconncting),
                                                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
                                                   Errors_Session_Reconnecting
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:22:25: note: expanded from macro 'RCT_ENUM_CONVERTER_WITH_REVERSED'
        NSArray *keys = values.allKeys; \
                        ^
In module 'ZoomVideoSDK' imported from /Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.h:2:
/Users/expo/Library/Developer/Xcode/DerivedData/TapHerobeta-ezqviswlcmzbugakuzdfenfbeocn/Build/Intermediates.noindex/ArchiveIntermediates/TapHerobeta/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/ZoomVideoSDK/ZoomVideoSDK/ZoomVideoSDK.framework/Headers/ZoomVideoSDKConstants.h:51:5: note: 'Errors_Session_Reconnecting' declared here
    Errors_Session_Reconnecting,
    ^
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:117:53: error: use of undeclared identifier 'Errors_Session_Disconncting'; did you mean 'Errors_Session_Disconnecting'?
       @"ZoomVideoSDKError_Session_Disconncting": @(Errors_Session_Disconncting),
                                                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                    Errors_Session_Disconnecting
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:22:25: note: expanded from macro 'RCT_ENUM_CONVERTER_WITH_REVERSED'
        NSArray *keys = values.allKeys; \
                        ^
In module 'ZoomVideoSDK' imported from /Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.h:2:
/Users/expo/Library/Developer/Xcode/DerivedData/TapHerobeta-ezqviswlcmzbugakuzdfenfbeocn/Build/Intermediates.noindex/ArchiveIntermediates/TapHerobeta/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/ZoomVideoSDK/ZoomVideoSDK/ZoomVideoSDK.framework/Headers/ZoomVideoSDKConstants.h:52:5: note: 'Errors_Session_Disconnecting' declared here
    Errors_Session_Disconnecting,
    ^
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:116:52: error: use of undeclared identifier 'Errors_Session_Reconncting'; did you mean 'Errors_Session_Reconnecting'?
       @"ZoomVideoSDKError_Session_Reconncting": @(Errors_Session_Reconncting),
                                                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
                                                   Errors_Session_Reconnecting
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:23:33: note: expanded from macro 'RCT_ENUM_CONVERTER_WITH_REVERSED'
        NSArray *valuesArray = [values objectsForKeys:keys notFoundMarker:[NSNull null]]; \
                                ^
In module 'ZoomVideoSDK' imported from /Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.h:2:
/Users/expo/Library/Developer/Xcode/DerivedData/TapHerobeta-ezqviswlcmzbugakuzdfenfbeocn/Build/Intermediates.noindex/ArchiveIntermediates/TapHerobeta/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/ZoomVideoSDK/ZoomVideoSDK/ZoomVideoSDK.framework/Headers/ZoomVideoSDKConstants.h:51:5: note: 'Errors_Session_Reconnecting' declared here
    Errors_Session_Reconnecting,
    ^
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:117:53: error: use of undeclared identifier 'Errors_Session_Disconncting'; did you mean 'Errors_Session_Disconnecting'?
       @"ZoomVideoSDKError_Session_Disconncting": @(Errors_Session_Disconncting),
                                                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                    Errors_Session_Disconnecting
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:23:33: note: expanded from macro 'RCT_ENUM_CONVERTER_WITH_REVERSED'
        NSArray *valuesArray = [values objectsForKeys:keys notFoundMarker:[NSNull null]]; \
                                ^
In module 'ZoomVideoSDK' imported from /Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.h:2:
/Users/expo/Library/Developer/Xcode/DerivedData/TapHerobeta-ezqviswlcmzbugakuzdfenfbeocn/Build/Intermediates.noindex/ArchiveIntermediates/TapHerobeta/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/ZoomVideoSDK/ZoomVideoSDK/ZoomVideoSDK.framework/Headers/ZoomVideoSDKConstants.h:52:5: note: 'Errors_Session_Disconnecting' declared here
    Errors_Session_Disconnecting,
    ^
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:171:45: error: use of undeclared identifier 'ZoomVideoSDKAudioType_Unknow'; did you mean 'ZoomVideoSDKAudioType_Unknown'?
        @"ZoomVideoSDKAudioType_Unknow" : @(ZoomVideoSDKAudioType_Unknow),
                                            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                            ZoomVideoSDKAudioType_Unknown
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:13:11: note: expanded from macro 'RCT_ENUM_CONVERTER_WITH_REVERSED'
mapping = values; \
          ^
In module 'ZoomVideoSDK' imported from /Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.h:2:
/Users/expo/Library/Developer/Xcode/DerivedData/TapHerobeta-ezqviswlcmzbugakuzdfenfbeocn/Build/Intermediates.noindex/ArchiveIntermediates/TapHerobeta/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/ZoomVideoSDK/ZoomVideoSDK/ZoomVideoSDK.framework/Headers/ZoomVideoSDKConstants.h:118:5: note: 'ZoomVideoSDKAudioType_Unknown' declared here
    ZoomVideoSDKAudioType_Unknown,
    ^
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:171:45: error: use of undeclared identifier 'ZoomVideoSDKAudioType_Unknow'; did you mean 'ZoomVideoSDKAudioType_Unknown'?
        @"ZoomVideoSDKAudioType_Unknow" : @(ZoomVideoSDKAudioType_Unknow),
                                            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                            ZoomVideoSDKAudioType_Unknown
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:22:25: note: expanded from macro 'RCT_ENUM_CONVERTER_WITH_REVERSED'
        NSArray *keys = values.allKeys; \
                        ^
In module 'ZoomVideoSDK' imported from /Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.h:2:
/Users/expo/Library/Developer/Xcode/DerivedData/TapHerobeta-ezqviswlcmzbugakuzdfenfbeocn/Build/Intermediates.noindex/ArchiveIntermediates/TapHerobeta/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/ZoomVideoSDK/ZoomVideoSDK/ZoomVideoSDK.framework/Headers/ZoomVideoSDKConstants.h:118:5: note: 'ZoomVideoSDKAudioType_Unknown' declared here
    ZoomVideoSDKAudioType_Unknown,
    ^
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:171:45: error: use of undeclared identifier 'ZoomVideoSDKAudioType_Unknow'; did you mean 'ZoomVideoSDKAudioType_Unknown'?
        @"ZoomVideoSDKAudioType_Unknow" : @(ZoomVideoSDKAudioType_Unknow),
                                            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                            ZoomVideoSDKAudioType_Unknown
/Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.m:23:33: note: expanded from macro 'RCT_ENUM_CONVERTER_WITH_REVERSED'
        NSArray *valuesArray = [values objectsForKeys:keys notFoundMarker:[NSNull null]]; \
                                ^
In module 'ZoomVideoSDK' imported from /Users/expo/workingdir/build/node_modules/@zoom/react-native-videosdk/ios/RCTConvert+RNZoomVideoSdk.h:2:
/Users/expo/Library/Developer/Xcode/DerivedData/TapHerobeta-ezqviswlcmzbugakuzdfenfbeocn/Build/Intermediates.noindex/ArchiveIntermediates/TapHerobeta/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/ZoomVideoSDK/ZoomVideoSDK/ZoomVideoSDK.framework/Headers/ZoomVideoSDKConstants.h:118:5: note: 'ZoomVideoSDKAudioType_Unknown' declared here
    ZoomVideoSDKAudioType_Unknown,
    ^
9 errors generated.

```

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [August 30, 2024, 10:01am UTC](https://devforum.zoom.us/t/video-sdk-react-native-1-12-5-build-error/116627/2 "2024-08-30T10:01:59Z")

</div>

Hey @ray.elward, I think you might have a dependency version mismatch between RN SDK and iOS pods. I believe your RN version is `1.12.5` but if you update pods automatically it’ll fetch the latest iOS pod that are `1.12.10` causing the error you shared.

I tried updating [this project](https://github.com/zoom/VideoSDK-ReactNative-Quickstart/) from `v1.11.1` to `v1.12.5`. I got the same error as you, I edited the `ios/Podfile.lock` to use `1.12.5` for these dependencies:

```auto
  - ZoomVideoSDK/CptShare (1.12.5)
  - ZoomVideoSDK/zm_annoter_dynamic (1.12.5)
  - ZoomVideoSDK/zoomcml (1.12.5)
  - ZoomVideoSDK/ZoomVideoSDK (1.12.5)

```

These previously got pinned to 1.12.10, when I’d run pod update.  
I then deleted the `ios/pods/` directory and re ran `npx pod-install`. Now the project should build using `yarn ios` or xcode/eas.

Thanks for flagging this, I’ll share the feedback with engineering to make sure we can avoid any incompatibilities in the future.

---

<div class="post-metadata">

**Author:** ![ray.elward](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ray.elward/32/51459_2.png) [@ray.elward](https://devforum.zoom.us/u/ray.elward)\
**Post date:** [August 30, 2024, 1:56pm UTC](https://devforum.zoom.us/t/video-sdk-react-native-1-12-5-build-error/116627/3 "2024-08-30T13:56:23Z")

</div>

Thanks for your reply. You are correct.

This works well for building locally.

The EAS build system creates the iOS folder from scratch every build, and appears to pull down the version mismatches still cached from somewhere in npm / cocoa pods potentially

I guess i’ll wait until 1.12.10 comes to RN to attempt to upgrade again.

This is what i see in the install pods step directly after it creates the new ios directory.

 ![Screenshot 2024-08-30 at 9.52.52 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/c/ec54d0aa61873907ed00291b0eeb2a47f05f1874.png)

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [August 30, 2024, 3:23pm UTC](https://devforum.zoom.us/t/video-sdk-react-native-1-12-5-build-error/116627/4 "2024-08-30T15:23:47Z")

</div>

Thanks for reporting this, @ray.elward

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [August 30, 2024, 3:35pm UTC](https://devforum.zoom.us/t/video-sdk-react-native-1-12-5-build-error/116627/5 "2024-08-30T15:35:08Z")

</div>

Hey @ray.elward we’re working internally to resolve this, in the mean time this expo plugin: [GitHub - rgomezp/expo-pod-pinner: The Pod Pinner plugin allows you to modify your Podfile in a managed workflow.](https://github.com/rgomezp/expo-pod-pinner) might be helpful to pin the pod version to `1.12.5`.

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [September 3, 2024, 2:47pm UTC](https://devforum.zoom.us/t/video-sdk-react-native-1-12-5-build-error/116627/6 "2024-09-03T14:47:53Z")

</div>


