From 6159e4ad277c44855c61d86214c1c748a8a72313 Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Tue, 16 May 2023 10:49:26 +0200 Subject: [PATCH] fix #1495 --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- ios/flutter_inappwebview.podspec | 7 +++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fcf922a..4d976667 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ ## 6.0.0-beta.24 - Merged "fix #1389 #1315 contextMenu ios 13" [#1575](https://github.com/pichillilorenzo/flutter_inappwebview/pull/1575) (thanks to [heralight](https://github.com/heralight)) +- Merged "fix: remove ignored flutter_export_environment.sh" [#1593](https://github.com/pichillilorenzo/flutter_inappwebview/pull/1593) (thanks to [Sunbreak](https://github.com/Sunbreak)) +- Merged "Fix AndroidX migration URL in README.md" [#1529](https://github.com/pichillilorenzo/flutter_inappwebview/pull/1529) (thanks to [cslee](https://github.com/cslee)) +- Merged "InAppBrowser Bugfix/viewgroup index crash" [#1618](https://github.com/pichillilorenzo/flutter_inappwebview/pull/1618) (thanks to [KhatibFX](https://github.com/KhatibFX)) +- Fixed old iOS versions crash "dyld: Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylib Reason: image not found" (thanks to [guide-flutter](https://github.com/guide-flutter)) ## 6.0.0-beta.23 diff --git a/README.md b/README.md index e4f15e88..ed794301 100755 --- a/README.md +++ b/README.md @@ -47,10 +47,10 @@ Send a submission request to the [Submit App](https://inappwebview.dev/submit-ap ## Requirements -- Dart sdk: ">=2.15.0 <3.0.0" +- Dart sdk: ">=2.15.0 <4.0.0" - Flutter: ">=3.0.0" - Android: `minSdkVersion 19` and add support for `androidx` (see [AndroidX Migration](https://docs.flutter.dev/development/platform-integration/android/androidx-migration) to migrate an existing app) -- iOS 9.0+: `--ios-language swift`, Xcode version `>= 14` +- iOS 9.0+: `--ios-language swift`, Xcode version `>= 14.3` - MacOS 10.11+: Xcode version `>= 14` ## Installation diff --git a/ios/flutter_inappwebview.podspec b/ios/flutter_inappwebview.podspec index 4e97e77b..d7cec322 100755 --- a/ios/flutter_inappwebview.podspec +++ b/ios/flutter_inappwebview.podspec @@ -20,6 +20,13 @@ A new Flutter plugin. # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } + + s.libraries = 'swiftCoreGraphics' + + s.xcconfig = { + 'LIBRARY_SEARCH_PATHS' => '$(SDKROOT)/usr/lib/swift', + } + s.swift_version = '5.0' s.dependency 'OrderedSet', '~>5.0'