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 # 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 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: