ios - Jitsi - meet framework configuration in iOS
问题描述
How to configure Jitsi-meet framework in iOS swift project to enable video call service?
解决方案
EDIT : This is also working for Xcode Version 12.2 (12B45b)
on Mac OS Big Sur.
For anyone who want to embed jitsi meet iOS SDK with swift app, Following steps worked for me in Xcode Version 11.3.1 (11C505)
- Clone the jitsi-meet repository from Github
- install the necessary dependencies using
npm install
- install the necessary pods using,
cd ios && pod install && cd ..
- Then execute the following command to build up jitsi meet framework files.
xcodebuild -workspace ios/jitsi-meet.xcworkspace -scheme JitsiMeet -destination='generic/platform=iOS' -configuration Release archive
- Above command will generate
JitsiMeet.framework
folder inside\ios\sdk
. (if you see a shortcut here, Please navigate to original location.) - Create a new folder (Something like frameworks) inside your project and copy
JitsiMeet.framework
to that folder - Navigate to
node_modules/react-native-webrtc/ios/WebRTC.framework
and copyWebRTC.framework
to frameworks folder inside your app. - Then navigate to
Targets > Your project
and navigate toLink Binary with Libraries
and press little plus button and selectAdd files
from the dropdown menu in the bottom and add theJitsiMeet.framework
andWebRTC.framework
from frameworks folder inside your project. - Remember to change
ENABLE_BITCODE
toNO
andAlways Embed Swift Standard Libraries
toYES
- Navigate to
Targets > General
and change theFrameworks, Libraries and Embed Content
and change theEmbed
toEmbed without signing
orEmbed with signing
- Voila ! now import
JitsiMeet
and you are good to go.
For more information refer Jitsi Handbook
推荐阅读
- node.js - 使用 NVS 安装 Node.js 时出现 PowerShell 错误
- php - Laravel 队列电子邮件属性值在 handle() 函数中丢失
- c++ - 如何分离头文件和cpp文件cmake
- mongodb - Mongo Express 身份验证失败,使用 docker compose
- python - matplotlib 日期作为数据,成为 gebrish
- html - Windows 比例为 125% 时图像上的白线
- java - 我在调试时运行我的颤振应用程序时出错(线程“主”中的异常)
- sql - 我不能在访问中使用查询定义对象作为变量
- python - 访问长度为 0 的 3D 张量中的元素
- javascript - 事件监听器中的箭头函数