This plugin uses the Jitsi SDK.
Each version of the jitsi capacitor plugin uses the latest Jitsi SDK version published by Jitsi. In iOS deployment, the SDK version is important because later SDKs compiled using the latest Xcode would not work if you local Xcode is older. So for iOS deployment, make sure you check your Xcode version and install the plugin version that uses the compatible SDK version.
See the plugin changelog for plugin versions that are compatible to your local Xcode
Follow installation steps 1-3 here.
-
Follow these steps to add iOS to your project
-
Let capacitor sync the projects using either of the following commands
npx cap update
npx cap sync
- Turn off Bitcode in the app target as well as the pod targets. In xcode Project Navigator,
i. Pods -> Project -> Pods -> Build Settings -> Enable Bitcode -> No
ii Pods -> Targets -> CapacitorJitsiMeet -> Build Settings -> Enable Bitcode -> No
To automate it during project build, insert these lines of code in the iOS project's Podfile
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'CapacitorJitsiMeet' || target.name == 'CapacitorJitsiMeet-Plugin'
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
end
- Use Swift 5 for the Capacitor target. In Xcode Project Navigator,
i. Pods -> Targets -> Capacitor -> Build Settings -> Swift Language Version -> Swift 5
- In order for app to properly work in the background, select the "audio" and "voip" background modes.
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
<string>voip</string>
</array>
- Build it in Xcode and deploy it to your device
ionic capacitor open ios
See Jitsi Meet Handbook.
See Jitsi Meet Handbook.
Consult the official Jitsi iOS SDK documentation.