Video SDK Type and Version
React Native Video SDK, version 1.10.10
Description
I followed the installation steps outlined here: Video SDK - React Native - Integrate but it fails with symbol(s) not found for architecture x86_64
on XCode. I have also tried including ZoomVideoSDK.xcframework
under embedded libraries but would get the Multiple commands produce...
error instead.
Error
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_RCTAppDelegate", referenced from:
_OBJC_CLASS_$_AppDelegate in AppDelegate.o
"_OBJC_CLASS_$_RCTBundleURLProvider", referenced from:
in AppDelegate.o
"_OBJC_CLASS_$_RCTConvert", referenced from:
__OBJC_$_CATEGORY_RCTConvert_$_RNZoomVideoSdk in libreact-native-zoom-video-sdk.a[2](RCTConvert+RNZoomVideoSdk.o)
in libreact-native-zoom-video-sdk.a[4](RNZoomVideoSdk.o)
"_OBJC_CLASS_$_RCTEventEmitter", referenced from:
_OBJC_CLASS_$_RNZoomVideoSdk in libreact-native-zoom-video-sdk.a[4](RNZoomVideoSdk.o)
"_OBJC_CLASS_$_RCTView", referenced from:
_OBJC_CLASS_$_RNZoomView in libreact-native-zoom-video-sdk.a[34](RNZoomView.o)
"_OBJC_CLASS_$_RCTViewManager", referenced from:
_OBJC_CLASS_$_RNZoomViewViewManager in libreact-native-zoom-video-sdk.a[35](RNZoomViewViewManager.o)
"_OBJC_CLASS_$_RNBootSplash", referenced from:
in AppDelegate.o
"_OBJC_METACLASS_$_RCTAppDelegate", referenced from:
_OBJC_METACLASS_$_AppDelegate in AppDelegate.o
"_OBJC_METACLASS_$_RCTEventEmitter", referenced from:
_OBJC_METACLASS_$_RNZoomVideoSdk in libreact-native-zoom-video-sdk.a[4](RNZoomVideoSdk.o)
"_OBJC_METACLASS_$_RCTView", referenced from:
_OBJC_METACLASS_$_RNZoomView in libreact-native-zoom-video-sdk.a[34](RNZoomView.o)
"_OBJC_METACLASS_$_RCTViewManager", referenced from:
_OBJC_METACLASS_$_RNZoomViewViewManager in libreact-native-zoom-video-sdk.a[35](RNZoomViewViewManager.o)
"_RCTConvertEnumValue", referenced from:
+[RCTConvert(RNZoomVideoSdk) ZoomVideoSDKRawDataMemoryMode:] in libreact-native-zoom-video-sdk.a[2](RCTConvert+RNZoomVideoSdk.o)
+[RCTConvert(RNZoomVideoSdk) ZoomVideoSDKVideoPreferenceMode:] in libreact-native-zoom-video-sdk.a[2](RCTConvert+RNZoomVideoSdk.o)
+[RCTConvert(RNZoomVideoSdk) ZoomVideoSDKReceiveSharingStatus:] in libreact-native-zoom-video-sdk.a[2](RCTConvert+RNZoomVideoSdk.o)
+[RCTConvert(RNZoomVideoSdk) ZoomVideoSDKRecordingStatus:] in libreact-native-zoom-video-sdk.a[2](RCTConvert+RNZoomVideoSdk.o)
+[RCTConvert(RNZoomVideoSdk) ZoomVideoSDKError:] in libreact-native-zoom-video-sdk.a[2](RCTConvert+RNZoomVideoSdk.o)
+[RCTConvert(RNZoomVideoSdk) ZoomVideoSDKAudioType:] in libreact-native-zoom-video-sdk.a[2](RCTConvert+RNZoomVideoSdk.o)
+[RCTConvert(RNZoomVideoSdk) ZoomVideoSDKVideoAspect:] in libreact-native-zoom-video-sdk.a[2](RCTConvert+RNZoomVideoSdk.o)
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Troubleshooting Routes
I have tried downloading the project sample and it does manage to build and run successfully. However I tried comparing my project file with the sample but did not notice any difference that helped solve the issue.
How To Reproduce
- Install react native version 0.73.6.
- Add Zoom Video SDK as shown in the documentation
- Build project on iOS simulator.