Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 910 Bytes

BuildingLibWebRTC.md

File metadata and controls

18 lines (10 loc) · 910 Bytes

Build libwebrtc for cordova-plugin-iosrtc

Get the libwebrtc source code

There are several ways to get and build the library. We choose a project that performs this task nicely:

react-native-webrtc/blob/master/Documentation/BuildingWebRTC.md

Once you have WebRTC.framework copy the build into lib

Generate xcframework

Once you have WebRTC.framework into lib, you need to generate WebRTC.xcframework

The script is here: https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/master/extra/ios_arch.js

  1. go to plugins/cordova-plugin-iosrtc/extra folder
  2. generate xcframework using: node ios_arch.js --xcframework