[Problem/Question]
I’m trying to build an app on iOS, but I keep getting an error.
Below are the details of the error.
- Unknown type name ‘CMSampleBufferRef’; did you mean ‘CVImageBufferRef’?
- Expected a type
- Expected a type
- Cannot find interface declaration for ‘RTCMTLVideoView’, superclass of ‘SBCVideoView’
// If problem, please fill out the below. If question, please delete.
[SDK Version]
react-native: 0.72.6
@sendbird/calls-react-native: 1.0.3
[Reproduction Steps]
[Frequency]
I’m currently doing initial setup and building, but it always appears.
[Current impact]
Unable to test our app…
There is also something like this in that article.
That was a very stupid problem. Solved.
#import <SendBirdCalls/SendBirdCalls-Swift.h>
#import <CoreMedia/CoreMedia.h>
#import <WebRTC/WebRTC.h>
The above is the existing code, but if you change it to the below, it works fine. It was a problem with import order. sorry.
#import <CoreMedia/CoreMedia.h>
#import <WebRTC/WebRTC.h>
#import <SendBirdCalls/SendBirdCalls-Swift.h>