Build WebRTC on the Device getting some errors

I Made all the linkings for the webrtc library on the ios but when I build on the simulator goes just fine but when I try to build on the real device (in this case my iPhone XR) I get this error

Can someone help me?

ld: ‘…/node_modules/react-native-webrtc/ios/WebRTC.framework/WebRTC’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file ‘…/node_modules/react-native-webrtc/ios/WebRTC.framework/WebRTC’ for architecture arm64

@LFSCamargo try to run this demo and see if you get the same error. Its configures for iOS and Android.

You need to disable bitcode in your Xcode project.

2 Likes

@saghul thanks for the help