From 6689944adc2ce7ecf7d6bedc1c8bc08146467d50 Mon Sep 17 00:00:00 2001 From: antonferra Date: Sun, 1 Mar 2026 21:30:49 -0500 Subject: [PATCH 1/3] Align WebRTC-SDK to 137.7151.12 and bump iOS target to 16.0 flutter_webrtc 1.3.1 pins WebRTC-SDK 137.7151.12 which requires iOS 16.0. This causes CocoaPods resolution failures when livekit_client pins .04. --- ios/livekit_client.podspec | 4 ++-- macos/livekit_client.podspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/livekit_client.podspec b/ios/livekit_client.podspec index 10c5ce005..aa9fc72b1 100644 --- a/ios/livekit_client.podspec +++ b/ios/livekit_client.podspec @@ -9,13 +9,13 @@ Pod::Spec.new do |s| s.source = { :path => '.' } s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' - s.platform = :ios, '13.0' + s.platform = :ios, '16.0' # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } s.swift_version = '5.0' s.static_framework = true s.dependency 'Flutter' - s.dependency 'WebRTC-SDK', '137.7151.04' + s.dependency 'WebRTC-SDK', '137.7151.12' s.dependency 'flutter_webrtc' end diff --git a/macos/livekit_client.podspec b/macos/livekit_client.podspec index 12e8d77da..5ac32b531 100644 --- a/macos/livekit_client.podspec +++ b/macos/livekit_client.podspec @@ -16,6 +16,6 @@ Pod::Spec.new do |s| s.static_framework = true s.dependency 'FlutterMacOS' - s.dependency 'WebRTC-SDK', '137.7151.04' + s.dependency 'WebRTC-SDK', '137.7151.12' s.dependency 'flutter_webrtc' end From 9ef91b3c4b8058b7dcd1f5feae3d372989fca2d0 Mon Sep 17 00:00:00 2001 From: antonferra Date: Sun, 1 Mar 2026 21:59:06 -0500 Subject: [PATCH 2/3] Bump example iOS deployment target to 16.0 and add changeset --- .changes/align-webrtc-sdk | 1 + example/ios/Podfile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .changes/align-webrtc-sdk diff --git a/.changes/align-webrtc-sdk b/.changes/align-webrtc-sdk new file mode 100644 index 000000000..f3e19f3d1 --- /dev/null +++ b/.changes/align-webrtc-sdk @@ -0,0 +1 @@ +patch type="fixed" "Align WebRTC-SDK to 137.7151.12 and bump iOS deployment target to 16.0" diff --git a/example/ios/Podfile b/example/ios/Podfile index f08511756..d6d109cdc 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -platform :ios, '13.0' +platform :ios, '16.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' @@ -43,7 +43,7 @@ post_install do |installer| # https://stackoverflow.com/questions/63973136/the-ios-deployment-target-iphoneos-deployment-target-is-set-to-8-0-in-flutter # target.build_configurations.each do |config| - config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.1' + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0' # # Make it compile with M1 macs # From 975590ef35e0f15e7aa9ee8f89140ccfd31cfcb6 Mon Sep 17 00:00:00 2001 From: antonferra Date: Sun, 1 Mar 2026 22:05:08 -0500 Subject: [PATCH 3/3] Bump flutter_webrtc to 1.3.1 to match WebRTC-SDK 137.7151.12 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 78b9fd7a1..0405d9267 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -46,7 +46,7 @@ dependencies: json_annotation: ^4.9.0 # Fix version to avoid version conflicts between WebRTC-SDK pods, which both this package and flutter_webrtc depend on. - flutter_webrtc: 1.3.0 + flutter_webrtc: 1.3.1 dart_webrtc: ^1.7.0 dev_dependencies: