I am not sure if this belongs here or in the Installation category. If I am in the wrong place please let me know and I will re-post in the correct place.
I have been trying to get an extremely simple sample setup with JitsiMeet on iOS and having an absolute nightmare. No matter what I do it will not build. I originally thought the problem was ‘Failed to load module JitsiMeet’ but that is the resulting issue I believe is caused by 11 other issues.
First the setup…
Create a new project in xcode
Set Enable Bitcode to No for project
Enable Always Embed Swift Standard Libraries for project
Build it, just to be sure it builds.
Close xcode, open terminal, cd to project directory and run ‘pod init’
open podfile and edit to read…
platform :ios, '12.0' target 'JitsiMeetTest' do use_frameworks! pod 'JitsiMeetSDK' post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ENABLE_BITCODE'] = 'NO' end end end end
Save podfile, go back to terminal and run ‘pod install’
After pod install finishes open up the new xcworkspace file in xcode
Build the app.
At that point 11 errors occur, all swift compiler errors, things like…
‘PiPViewCoordinator’ is not a member type of ‘JitsiMeet’
‘AnimationCompletion’ is not a member type of ‘JitsiMeet’
‘JMCallKitListener’ is not a member type of ‘JitsiMeet’
And more, all from the same file ‘x86_64-applie-ios-simulator.swiftinterface’
It won’t build, and I can’t figure out why. I have tried removing the ‘use_frameworks!’ from the podfile. I have tried in xcode 10 and xcode 11, neither works. I don’t know what to do, all I have done is literally installed JitsiMeetSDK with cocoapods and the app will no longer build. Any help would be greatly appreciated. Thank you.