ZoomVideoSDK react-native iOS error ('React/RCTBridgeDelegate.h' file not found) during build in Xcode on MacBook Pro Chip Apple M1 Pro

We are facing problems while running our react native iOS app on Xcode on MacBook Pro Chip Apple M1 Pro, we are facing some problems and errors, As we are using ZoomVideoSDK and the file (AppDelegate.h) mentioned in the error points towards the zoom sdk.

Errors:

/Users/atulahire/Documents/healiom_frontend_mobile_app/ios/Healiom/AppDelegate.h:13:9: ‘React/RCTBridgeDelegate.h’ file not found

/Users/atulahire/Documents/healiom_frontend_mobile_app/ios/Healiom/AppDelegate.m:13:9: in file included from /Users/atulahire/Documents/healiom_frontend_mobile_app/ios/Healiom/AppDelegate.m:13:

/Users/atulahire/Documents/healiom_frontend_mobile_app/ios/Healiom/AppDelegate.h:13:9: ‘React/RCTBridgeDelegate.h’ file not found

/Users/atulahire/Documents/healiom_frontend_mobile_app/ios/Healiom/main.m:15:9: in file included from /Users/atulahire/Documents/healiom_frontend_mobile_app/ios/Healiom/main.m:15:

In ZoomVideoSDK, AppDelegate points to following files :

  1. ios/ZoomVideoSDK.xcframework/ios-arm64_armv7/ZoomVideoSDK.framework/Headers/ZoomVideoSDK.h

and

  1. ios/ZoomVideoSDK.xcframework/ios-x86_64-simulator/ZoomVideoSDK.framework/Headers/ZoomVideoSDK.h

Steps used:

Installed libraries

Install yarn - brew install yarn

Install node - brew install node

Install cocoa pods - brew install cocoapods

Set up the account(Apple ID) - Xcode → preference → account → add account

Inside project:

cd project

yarn install

cd iOS

pod install

npx react-native start --reset-cache

Xcode Version 13.4.1 (13F100)

MacBook Pro (14-inch, 2021)

Chip Apple M1 Pro

  • 8-core CPU with 6 performance cores and 2 efficiency cores
  • 14-core GPU
  • 16-core Neural Engine

macOS Monterey Version 12.4 (21F79)

16GB unified memory, 512GB SSD
React Native Video SDK version 1.2.0

Could you provide us any solution to fix this.
Thanks

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