Target has frameworks with conflicting names: webrtc.xcframework

Hi.

I have an issue when running pod install for my app.
I need to use both pods JitsiMeetSDK and WebRTC-SDK.
The problem is the following: [!] The 'Pods-Runner' target has frameworks with conflicting names: webrtc.xcframework.

Below my CocoaPods Environment and Podfile.

Here the two podspecs:

They both have WebRTC.framework in the vendored_frameworks .

How can I solve this issue?
Thanks.

CocoaPods Environment

   CocoaPods : 1.11.3
        Ruby : ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.x86_64-darwin21]
    RubyGems : 3.0.3.1
        Host : macOS 12.0.1 (21A559)
       Xcode : 13.2.1 (13C100)
         Git : git version 2.34.1
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

Podfile

platform :ios, '12.0'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  use_frameworks!
  pod 'JitsiMeetSDK', '~> 5.0.0'
  pod 'WebRTC-SDK', '~> 97.4692.02'
end

install! 'cocoapods', :disable_input_output_paths => true

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
      config.build_settings['ENABLE_BITCODE'] = 'NO'
      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"

      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        '$(inherited)',
        'PERMISSION_CAMERA=1',
        'PERMISSION_MICROPHONE=1',
        'PERMISSION_PHOTOS=1',
        'PERMISSION_NOTIFICATIONS=1',
        'PERMISSION_MEDIA_LIBRARY=1',
      ]
    end
  end
end

target 'OneSignalNotificationServiceExtension' do
  use_frameworks!
  pod 'OneSignalXCFramework', '>= 3.4.3', '< 4.0'
end

This is never going to work.

Note that our SDK includes the WebRTC Framework, so you can use that directly as well in your app. In addition Google has stopped updating their WebRTC pod, so you better stay away from it, no updates will be made in the future.

Thanks.
Is there any way I can find the exact version of the WebRTC Framework included in the Jitsi SDK?

We list WebRTC updates in our changelog: jitsi-meet-release-notes/CHANGELOG-MOBILE-SDKS.md at master · jitsi/jitsi-meet-release-notes · GitHub

We have been using M94 since SDK 4.0.

I am in the process of updating it (first to 98, now to 100) but I’m facing some problems with Apple rejecting our binaries.

thank you

Are there any changes? What is the situation

Our SDK has been updated with WebRTC 100.