From cedbc61239e712de3a3d89a6ea4b9d9cce036f6a Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Fri, 6 Feb 2026 15:42:45 -0800 Subject: [PATCH 01/12] __swift_FORCE_LOAD --- .../darwin/webview_flutter_wkwebview.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec index dc1753ebc925..ead75b2a3e35 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec +++ b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec @@ -17,7 +17,7 @@ Downloaded by pub (not CocoaPods). s.source_files = 'webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/**/*.swift' s.ios.dependency 'Flutter' s.osx.dependency 'FlutterMacOS' - s.ios.deployment_target = '13.0' + s.ios.deployment_target = '15.0' s.osx.deployment_target = '10.15' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.resource_bundles = {'webview_flutter_wkwebview_privacy' => ['webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/Resources/PrivacyInfo.xcprivacy']} @@ -26,5 +26,5 @@ Downloaded by pub (not CocoaPods). 'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', } - s.swift_version = '5.0' + s.swift_version = '6.0' end From b6e9823470e11742f1564b602a6b03c43b0e5b65 Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Fri, 6 Feb 2026 15:56:19 -0800 Subject: [PATCH 02/12] fix --- .../darwin/webview_flutter_wkwebview.podspec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec index ead75b2a3e35..a2b6aa07da36 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec +++ b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec @@ -17,14 +17,13 @@ Downloaded by pub (not CocoaPods). s.source_files = 'webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/**/*.swift' s.ios.dependency 'Flutter' s.osx.dependency 'FlutterMacOS' - s.ios.deployment_target = '15.0' + s.ios.deployment_target = '13.0' s.osx.deployment_target = '10.15' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.resource_bundles = {'webview_flutter_wkwebview_privacy' => ['webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/Resources/PrivacyInfo.xcprivacy']} - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.xcconfig = { - 'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', - 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', + 'LIBRARY_SEARCH_PATHS' => '$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', + 'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) /usr/lib/swift', } - s.swift_version = '6.0' + s.swift_version = '5.0' end From 1a553369d26ac7ef2023b6c557481bf2d938ee3f Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Fri, 6 Feb 2026 16:06:03 -0800 Subject: [PATCH 03/12] fix --- .../tool/lib/src/podspec_check_command.dart | 6 ++-- .../tool/test/podspec_check_command_test.dart | 33 +++++++++++++++++-- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/script/tool/lib/src/podspec_check_command.dart b/script/tool/lib/src/podspec_check_command.dart index 24f0d80f3461..b6161893aa65 100644 --- a/script/tool/lib/src/podspec_check_command.dart +++ b/script/tool/lib/src/podspec_check_command.dart @@ -209,10 +209,12 @@ class PodspecCheckCommand extends PackageLoopingCommand { // This errs on the side of being too strict, to minimize the chance of // accidental incorrect configuration. If we ever need more flexibility // due to a false negative we can adjust this as necessary. + // The $(inherited) prefix is optional but recommended to preserve any + // search paths that Xcode or CocoaPods may generate. final workaround = RegExp(r''' \s*s\.(?:ios\.)?xcconfig = {[^}]* -\s*'LIBRARY_SEARCH_PATHS' => '\$\(TOOLCHAIN_DIR\)/usr/lib/swift/\$\(PLATFORM_NAME\)/ \$\(SDKROOT\)/usr/lib/swift', -\s*'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift',[^}]* +\s*'LIBRARY_SEARCH_PATHS' => '(?:\$\(inherited\) )?\$\(TOOLCHAIN_DIR\)/usr/lib/swift/\$\(PLATFORM_NAME\)/ \$\(SDKROOT\)/usr/lib/swift', +\s*'LD_RUNPATH_SEARCH_PATHS' => '(?:\$\(inherited\) )?/usr/lib/swift',[^}]* \s*}''', dotAll: true); return !workaround.hasMatch(podspec.readAsStringSync()); } diff --git a/script/tool/test/podspec_check_command_test.dart b/script/tool/test/podspec_check_command_test.dart index dbd7fe9b276f..95e8b8d825c9 100644 --- a/script/tool/test/podspec_check_command_test.dart +++ b/script/tool/test/podspec_check_command_test.dart @@ -19,22 +19,25 @@ import 'util.dart'; /// If [includeSwiftWorkaround] is set, the xcconfig additions to make Swift /// libraries work in apps that have no Swift will be included. If /// [scopeSwiftWorkaround] is set, it will be specific to the iOS configuration. +/// If [useInheritedPaths] is set, the search paths will use $(inherited) prefix. void _writeFakePodspec( RepositoryPackage plugin, String platform, { bool includeSwiftWorkaround = false, bool scopeSwiftWorkaround = false, bool includePrivacyManifest = false, + bool useInheritedPaths = false, }) { final String pluginName = plugin.directory.basename; final File file = plugin.directory .childDirectory(platform) .childFile('$pluginName.podspec'); + final inheritedPrefix = useInheritedPaths ? r'$(inherited) ' : ''; final swiftWorkaround = includeSwiftWorkaround ? ''' s.${scopeSwiftWorkaround ? 'ios.' : ''}xcconfig = { - 'LIBRARY_SEARCH_PATHS' => '\$(TOOLCHAIN_DIR)/usr/lib/swift/\$(PLATFORM_NAME)/ \$(SDKROOT)/usr/lib/swift', - 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', + 'LIBRARY_SEARCH_PATHS' => '$inheritedPrefix\$(TOOLCHAIN_DIR)/usr/lib/swift/\$(PLATFORM_NAME)/ \$(SDKROOT)/usr/lib/swift', + 'LD_RUNPATH_SEARCH_PATHS' => '$inheritedPrefix/usr/lib/swift', } ''' : ''; @@ -496,6 +499,32 @@ void main() { }, ); + test( + 'passes if the search paths workaround uses \$(inherited) prefix', + () async { + final RepositoryPackage plugin = createFakePlugin( + 'plugin1', + packagesDir, + extraFiles: ['ios/Classes/SomeSwift.swift'], + ); + _writeFakePodspec( + plugin, + 'ios', + includeSwiftWorkaround: true, + useInheritedPaths: true, + ); + + final List output = await runCapturingPrint(runner, [ + 'podspec-check', + ]); + + expect( + output, + containsAllInOrder([contains('Ran for 1 package(s)')]), + ); + }, + ); + test( 'does not require the search paths workaround for Swift example code', () async { From 0d1b2831f09bc9162d8298a4b3871a35f7fa4d77 Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Mon, 9 Feb 2026 11:22:18 -0800 Subject: [PATCH 04/12] fix --- .../darwin/webview_flutter_wkwebview.podspec | 7 ++-- .../tool/lib/src/podspec_check_command.dart | 6 ++-- .../tool/test/podspec_check_command_test.dart | 33 ++----------------- 3 files changed, 8 insertions(+), 38 deletions(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec index a2b6aa07da36..2afcaa146892 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec +++ b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec @@ -21,9 +21,10 @@ Downloaded by pub (not CocoaPods). s.osx.deployment_target = '10.15' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.resource_bundles = {'webview_flutter_wkwebview_privacy' => ['webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/Resources/PrivacyInfo.xcprivacy']} + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.xcconfig = { - 'LIBRARY_SEARCH_PATHS' => '$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', - 'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) /usr/lib/swift', + 'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', + 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', } - s.swift_version = '5.0' + s.swift_version = '6.0' end diff --git a/script/tool/lib/src/podspec_check_command.dart b/script/tool/lib/src/podspec_check_command.dart index b6161893aa65..24f0d80f3461 100644 --- a/script/tool/lib/src/podspec_check_command.dart +++ b/script/tool/lib/src/podspec_check_command.dart @@ -209,12 +209,10 @@ class PodspecCheckCommand extends PackageLoopingCommand { // This errs on the side of being too strict, to minimize the chance of // accidental incorrect configuration. If we ever need more flexibility // due to a false negative we can adjust this as necessary. - // The $(inherited) prefix is optional but recommended to preserve any - // search paths that Xcode or CocoaPods may generate. final workaround = RegExp(r''' \s*s\.(?:ios\.)?xcconfig = {[^}]* -\s*'LIBRARY_SEARCH_PATHS' => '(?:\$\(inherited\) )?\$\(TOOLCHAIN_DIR\)/usr/lib/swift/\$\(PLATFORM_NAME\)/ \$\(SDKROOT\)/usr/lib/swift', -\s*'LD_RUNPATH_SEARCH_PATHS' => '(?:\$\(inherited\) )?/usr/lib/swift',[^}]* +\s*'LIBRARY_SEARCH_PATHS' => '\$\(TOOLCHAIN_DIR\)/usr/lib/swift/\$\(PLATFORM_NAME\)/ \$\(SDKROOT\)/usr/lib/swift', +\s*'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift',[^}]* \s*}''', dotAll: true); return !workaround.hasMatch(podspec.readAsStringSync()); } diff --git a/script/tool/test/podspec_check_command_test.dart b/script/tool/test/podspec_check_command_test.dart index 95e8b8d825c9..dbd7fe9b276f 100644 --- a/script/tool/test/podspec_check_command_test.dart +++ b/script/tool/test/podspec_check_command_test.dart @@ -19,25 +19,22 @@ import 'util.dart'; /// If [includeSwiftWorkaround] is set, the xcconfig additions to make Swift /// libraries work in apps that have no Swift will be included. If /// [scopeSwiftWorkaround] is set, it will be specific to the iOS configuration. -/// If [useInheritedPaths] is set, the search paths will use $(inherited) prefix. void _writeFakePodspec( RepositoryPackage plugin, String platform, { bool includeSwiftWorkaround = false, bool scopeSwiftWorkaround = false, bool includePrivacyManifest = false, - bool useInheritedPaths = false, }) { final String pluginName = plugin.directory.basename; final File file = plugin.directory .childDirectory(platform) .childFile('$pluginName.podspec'); - final inheritedPrefix = useInheritedPaths ? r'$(inherited) ' : ''; final swiftWorkaround = includeSwiftWorkaround ? ''' s.${scopeSwiftWorkaround ? 'ios.' : ''}xcconfig = { - 'LIBRARY_SEARCH_PATHS' => '$inheritedPrefix\$(TOOLCHAIN_DIR)/usr/lib/swift/\$(PLATFORM_NAME)/ \$(SDKROOT)/usr/lib/swift', - 'LD_RUNPATH_SEARCH_PATHS' => '$inheritedPrefix/usr/lib/swift', + 'LIBRARY_SEARCH_PATHS' => '\$(TOOLCHAIN_DIR)/usr/lib/swift/\$(PLATFORM_NAME)/ \$(SDKROOT)/usr/lib/swift', + 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', } ''' : ''; @@ -499,32 +496,6 @@ void main() { }, ); - test( - 'passes if the search paths workaround uses \$(inherited) prefix', - () async { - final RepositoryPackage plugin = createFakePlugin( - 'plugin1', - packagesDir, - extraFiles: ['ios/Classes/SomeSwift.swift'], - ); - _writeFakePodspec( - plugin, - 'ios', - includeSwiftWorkaround: true, - useInheritedPaths: true, - ); - - final List output = await runCapturingPrint(runner, [ - 'podspec-check', - ]); - - expect( - output, - containsAllInOrder([contains('Ran for 1 package(s)')]), - ); - }, - ); - test( 'does not require the search paths workaround for Swift example code', () async { From 06a48a3862cee34e14e95ebd36087cfa23b1abaf Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Mon, 9 Feb 2026 11:40:43 -0800 Subject: [PATCH 05/12] fix --- .../darwin/webview_flutter_wkwebview.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec index 2afcaa146892..ead75b2a3e35 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec +++ b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec @@ -17,7 +17,7 @@ Downloaded by pub (not CocoaPods). s.source_files = 'webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/**/*.swift' s.ios.dependency 'Flutter' s.osx.dependency 'FlutterMacOS' - s.ios.deployment_target = '13.0' + s.ios.deployment_target = '15.0' s.osx.deployment_target = '10.15' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.resource_bundles = {'webview_flutter_wkwebview_privacy' => ['webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/Resources/PrivacyInfo.xcprivacy']} From 0d610b747e7583dc4754cf5fc163a3266fb062f7 Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Mon, 9 Feb 2026 14:32:28 -0800 Subject: [PATCH 06/12] fix --- .../darwin/webview_flutter_wkwebview.podspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec index ead75b2a3e35..32acaa1aea38 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec +++ b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec @@ -17,14 +17,14 @@ Downloaded by pub (not CocoaPods). s.source_files = 'webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/**/*.swift' s.ios.dependency 'Flutter' s.osx.dependency 'FlutterMacOS' - s.ios.deployment_target = '15.0' + s.ios.deployment_target = '13.0' s.osx.deployment_target = '10.15' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.resource_bundles = {'webview_flutter_wkwebview_privacy' => ['webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/Resources/PrivacyInfo.xcprivacy']} s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.xcconfig = { - 'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', - 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', + 'LIBRARY_SEARCH_PATHS' => '$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', + 'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) /usr/lib/swift', } s.swift_version = '6.0' end From dcff8ec8a48ed4efba3cffb3de0ed606b233f852 Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Mon, 9 Feb 2026 14:40:10 -0800 Subject: [PATCH 07/12] fix --- script/tool/lib/src/podspec_check_command.dart | 10 ++++++---- script/tool/test/podspec_check_command_test.dart | 12 ++++++------ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/script/tool/lib/src/podspec_check_command.dart b/script/tool/lib/src/podspec_check_command.dart index 24f0d80f3461..b3549e3a1abd 100644 --- a/script/tool/lib/src/podspec_check_command.dart +++ b/script/tool/lib/src/podspec_check_command.dart @@ -80,8 +80,8 @@ class PodspecCheckCommand extends PackageLoopingCommand { if (_isPodspecMissingSearchPaths(podspec)) { const workaroundBlock = r''' s.xcconfig = { - 'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', - 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', + 'LIBRARY_SEARCH_PATHS' => '$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', + 'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) /usr/lib/swift', } '''; final String path = getRelativePosixPath( @@ -209,10 +209,12 @@ class PodspecCheckCommand extends PackageLoopingCommand { // This errs on the side of being too strict, to minimize the chance of // accidental incorrect configuration. If we ever need more flexibility // due to a false negative we can adjust this as necessary. + // The $(inherited) prefix is optional but recommended to preserve any + // search paths that Xcode or CocoaPods may generate. final workaround = RegExp(r''' \s*s\.(?:ios\.)?xcconfig = {[^}]* -\s*'LIBRARY_SEARCH_PATHS' => '\$\(TOOLCHAIN_DIR\)/usr/lib/swift/\$\(PLATFORM_NAME\)/ \$\(SDKROOT\)/usr/lib/swift', -\s*'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift',[^}]* +\s*'LIBRARY_SEARCH_PATHS' => '(?:\$\(inherited\) )?\$\(TOOLCHAIN_DIR\)/usr/lib/swift/\$\(PLATFORM_NAME\)/ \$\(SDKROOT\)/usr/lib/swift', +\s*'LD_RUNPATH_SEARCH_PATHS' => '(?:\$\(inherited\) )?/usr/lib/swift',[^}]* \s*}''', dotAll: true); return !workaround.hasMatch(podspec.readAsStringSync()); } diff --git a/script/tool/test/podspec_check_command_test.dart b/script/tool/test/podspec_check_command_test.dart index dbd7fe9b276f..abf1f735ce98 100644 --- a/script/tool/test/podspec_check_command_test.dart +++ b/script/tool/test/podspec_check_command_test.dart @@ -33,8 +33,8 @@ void _writeFakePodspec( final swiftWorkaround = includeSwiftWorkaround ? ''' s.${scopeSwiftWorkaround ? 'ios.' : ''}xcconfig = { - 'LIBRARY_SEARCH_PATHS' => '\$(TOOLCHAIN_DIR)/usr/lib/swift/\$(PLATFORM_NAME)/ \$(SDKROOT)/usr/lib/swift', - 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', + 'LIBRARY_SEARCH_PATHS' => '\$(inherited) \$(TOOLCHAIN_DIR)/usr/lib/swift/\$(PLATFORM_NAME)/ \$(SDKROOT)/usr/lib/swift', + 'LD_RUNPATH_SEARCH_PATHS' => '\$(inherited) /usr/lib/swift', } ''' : ''; @@ -288,8 +288,8 @@ void main() { containsAllInOrder([ contains(r''' s.xcconfig = { - 'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', - 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', + 'LIBRARY_SEARCH_PATHS' => '$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', + 'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) /usr/lib/swift', }'''), contains('The following packages had errors:'), contains( @@ -327,8 +327,8 @@ void main() { containsAllInOrder([ contains(r''' s.xcconfig = { - 'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', - 'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift', + 'LIBRARY_SEARCH_PATHS' => '$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', + 'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) /usr/lib/swift', }'''), contains('The following packages had errors:'), contains( From 4fbd9f1344a7b4b091cbf66dfb0fc4962d37595f Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Mon, 9 Feb 2026 14:52:39 -0800 Subject: [PATCH 08/12] fix --- .../darwin/webview_flutter_wkwebview.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec index 32acaa1aea38..b9b773b752ff 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec +++ b/packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview.podspec @@ -26,5 +26,5 @@ Downloaded by pub (not CocoaPods). 'LIBRARY_SEARCH_PATHS' => '$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift', 'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) /usr/lib/swift', } - s.swift_version = '6.0' + s.swift_version = '5.0' end From 9c4ca92fdcb9cce02157b166c5e026a7399bb830 Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Mon, 9 Feb 2026 15:19:39 -0800 Subject: [PATCH 09/12] fix --- .../webview_flutter/webview_flutter_wkwebview/CHANGELOG.md | 4 ++++ .../webview_flutter/webview_flutter_wkwebview/pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md b/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md index 85f5838755d6..b71912129d65 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md +++ b/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.23.6 + +* Adds `$(inherited)` to xcconfig search paths to fix linker errors on Xcode 26. + ## 3.23.5 * Removes internal native library Dart proxy. diff --git a/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml b/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml index 714304d9b34a..9678b60179c2 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml +++ b/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml @@ -2,7 +2,7 @@ name: webview_flutter_wkwebview description: A Flutter plugin that provides a WebView widget based on Apple's WKWebView control. repository: https://github.com/flutter/packages/tree/main/packages/webview_flutter/webview_flutter_wkwebview issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22 -version: 3.23.5 +version: 3.23.6 environment: sdk: ^3.9.0 From 80b1af78da62504e3e5ee79ba74f9f49066cae32 Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Mon, 9 Feb 2026 18:32:09 -0800 Subject: [PATCH 10/12] fix --- packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md b/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md index b71912129d65..876c30104de4 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md +++ b/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md @@ -1,6 +1,6 @@ ## 3.23.6 -* Adds `$(inherited)` to xcconfig search paths to fix linker errors on Xcode 26. +* Adds $(inherited) to xcconfig search paths to fix linker errors on Xcode 26. ## 3.23.5 From cb964339285e29417f6ed20d8e3e125479ec533a Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Mon, 9 Feb 2026 18:35:21 -0800 Subject: [PATCH 11/12] fix --- .../webview_flutter/webview_flutter_wkwebview/CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md b/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md index 876c30104de4..219e1031bcad 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md +++ b/packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md @@ -1,7 +1,11 @@ -## 3.23.6 +## 3.23.7 * Adds $(inherited) to xcconfig search paths to fix linker errors on Xcode 26. +## 3.23.6 + +* Fixes a crash if WebViewFlutterWKWebViewExternalAPI is passed the wrong registry. + ## 3.23.5 * Removes internal native library Dart proxy. From c9294389a3e72701e0de918e81b72467647be5e3 Mon Sep 17 00:00:00 2001 From: Elijah Okoroh Date: Mon, 9 Feb 2026 19:01:05 -0800 Subject: [PATCH 12/12] fix --- packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml b/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml index 9678b60179c2..5439ee7a5fb1 100644 --- a/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml +++ b/packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml @@ -2,7 +2,7 @@ name: webview_flutter_wkwebview description: A Flutter plugin that provides a WebView widget based on Apple's WKWebView control. repository: https://github.com/flutter/packages/tree/main/packages/webview_flutter/webview_flutter_wkwebview issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22 -version: 3.23.6 +version: 3.23.7 environment: sdk: ^3.9.0