Unable to build/run 87. Missing required architecture x86_64 and RBSRequestErrorDomain

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}>

What version of your iOS?

What version of your xCode is it?

Do you have a paid developer account, or is it personal?

Did you change the version of iOS on your PodFile to 11.0?

Did you “pod install”?

This is Xcode 11.3, and my Podfile has platform :ios, '11.0' (Also I have use_frameworks!). I currently have V84 working, just for some reason updating to V87 in the latest release is giving me this error.

Update to latest version of xcode, make same to the ios in your device, and try again!

Just saw that there is a requirement for Cocoapods v1.10. I am using 1.9.x. That may be the problem.