Jitsi - meet framework configuration in iOS

徘徊边缘 提交于 2021-01-07 03:33:09

问题


How to configure Jitsi-meet framework in iOS swift project to enable video call service?


回答1:


After adding pods, you must close the project and open .xcworkspace. And don't forgot to clean the build folder using "command + alt + shift + k".




回答2:


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)

  1. Clone the jitsi-meet repository from Github
  2. install the necessary dependencies using npm install
  3. install the necessary pods using, cd ios && pod install && cd ..
  4. 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
  5. Above command will generate JitsiMeet.framework folder inside \ios\sdk. (if you see a shortcut here, Please navigate to original location.)
  6. Create a new folder (Something like frameworks) inside your project and copy JitsiMeet.framework to that folder
  7. Navigate to node_modules/react-native-webrtc/ios/WebRTC.framework and copy WebRTC.framework to frameworks folder inside your app.
  8. Then navigate to Targets > Your project and navigate to Link Binary with Libraries and press little plus button and select Add files from the dropdown menu in the bottom and add the JitsiMeet.framework and WebRTC.framework from frameworks folder inside your project.
  9. Remember to change ENABLE_BITCODE to NO and Always Embed Swift Standard Libraries to YES
  10. Navigate to Targets > General and change the Frameworks, Libraries and Embed Content and change the Embed to Embed without signing or Embed with signing
  11. Voila ! now import JitsiMeet and you are good to go.

For more information refer Jitsi Handbook



来源:https://stackoverflow.com/questions/50324812/jitsi-meet-framework-configuration-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!