I am trying to update to 1.87.1 with RN 61 but get this error in xcode when building to simulator
ld: warning: ignoring file <project_root>/node_modules/react-native-webrtc/apple/WebRTC.xcframework/ios-arm64/WebRTC.framework/WebRTC, missing required architecture x86_64 in file <project_root>/node_modules/react-native-webrtc/apple/WebRTC.xcframework/ios-arm64/WebRTC.framework/WebRTC (1 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_RTCPeerConnectionFactory", referenced from:
objc-class-ref in WebRTCModule.o
"_OBJC_CLASS_$_RTCDefaultVideoDecoderFactory", referenced from:
objc-class-ref in WebRTCModule.o
"_OBJC_CLASS_$_RTCDefaultVideoEncoderFactory", referenced from:
objc-class-ref in WebRTCModule.o
"_OBJC_CLASS_$_RTCMediaConstraints", referenced from:
objc-class-ref in WebRTCModule+RTCPeerConnection.o
"_OBJC_CLASS_$_RTCDataChannel", referenced from:
l_OBJC_$_CATEGORY_RTCDataChannel_$_React in WebRTCModule+RTCDataChannel.o
"_OBJC_CLASS_$_RTCDataBuffer", referenced from:
objc-class-ref in WebRTCModule+RTCDataChannel.o
"_OBJC_CLASS_$_RTCMediaStreamTrack", referenced from:
l_OBJC_$_CATEGORY_RTCMediaStreamTrack_$_React in RTCMediaStreamTrack+React.o
"_OBJC_CLASS_$_RTCConfiguration", referenced from:
objc-class-ref in RCTConvert+WebRTC.o
"_OBJC_CLASS_$_RTCIceServer", referenced from:
objc-class-ref in RCTConvert+WebRTC.o
"_OBJC_CLASS_$_RTCIceCandidate", referenced from:
objc-class-ref in RCTConvert+WebRTC.o
"_OBJC_CLASS_$_RTCEAGLVideoView", referenced from:
objc-class-ref in RTCVideoViewManager.o
"_OBJC_CLASS_$_RTCDataChannelConfiguration", referenced from:
objc-class-ref in RCTConvert+WebRTC.o
"_OBJC_CLASS_$_RTCPeerConnection", referenced from:
l_OBJC_$_CATEGORY_RTCPeerConnection_$_React in WebRTCModule+RTCPeerConnection.o
l_OBJC_$_CATEGORY_RTCPeerConnection_$_VideoTrackAdapter in WebRTCModule+VideoTrackAdapter.o
"_OBJC_CLASS_$_RTCCameraVideoCapturer", referenced from:
objc-class-ref in VideoCaptureController.o
"_OBJC_CLASS_$_RTCSessionDescription", referenced from:
objc-class-ref in RCTConvert+WebRTC.o
objc-class-ref in WebRTCModule+RTCPeerConnection.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I build to a physical device it crashes immediately with error:
Could not get process name: <Error Domain=RBSRequestErrorDomain Code=5 "Could not get proc_pidinfo for pid" UserInfo={NSLocalizedFailureReason=Could not get proc_pidinfo for pid}>