fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 929 forks source link

Cannot build for ios #890

Open praharshbhatt opened 3 years ago

praharshbhatt commented 3 years ago

flutter_webview_plugin: ^0.3.11

flutter run on iOS produces the following output:


Xcode's output:
↳
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.2/ios/Classes/FlutterWebView.m:331:20: warning: 'setJavaScriptEnabled:' is deprecated: first deprecated in iOS 14.0 - Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis [-Wdeprecated-declarations]
          [preferences setJavaScriptEnabled:NO];
                       ^
    In module 'WebKit' imported from /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.2/ios/Classes/FlutterWebView.h:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:72:28: note:
    property 'javaScriptEnabled' is declared deprecated here
    @property (nonatomic) BOOL javaScriptEnabled API_DEPRECATED("Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis", macos(10.10, 11.0), ios(8.0,
    14.0));
                               ^
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:72:28: note:
    'setJavaScriptEnabled:' has been explicitly marked deprecated here
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.2/ios/Classes/FlutterWebView.m:334:20: warning: 'setJavaScriptEnabled:' is deprecated: first deprecated in iOS 14.0 - Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis [-Wdeprecated-declarations]
          [preferences setJavaScriptEnabled:YES];
                       ^
    In module 'WebKit' imported from /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.2/ios/Classes/FlutterWebView.h:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:72:28: note:
    property 'javaScriptEnabled' is declared deprecated here
    @property (nonatomic) BOOL javaScriptEnabled API_DEPRECATED("Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis", macos(10.10, 11.0), ios(8.0,
    14.0));
                               ^
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:72:28: note:
    'setJavaScriptEnabled:' has been explicitly marked deprecated here
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.2/ios/Classes/FlutterWebView.m:348:23: warning: 'mediaPlaybackRequiresUserAction' is deprecated: first deprecated in iOS 9.0
    [-Wdeprecated-declarations]
            configuration.mediaPlaybackRequiresUserAction = true;
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          mediaTypesRequiringUserActionForPlayback
    In module 'WebKit' imported from /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.2/ios/Classes/FlutterWebView.h:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:211:28
    : note: 'mediaPlaybackRequiresUserAction' has been explicitly marked deprecated here
    @property (nonatomic) BOOL mediaPlaybackRequiresUserAction API_DEPRECATED_WITH_REPLACEMENT("mediaTypesRequiringUserActionForPlayback", ios(8.0, 9.0));
                               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.2/ios/Classes/FlutterWebView.m:355:23: warning: 'mediaPlaybackRequiresUserAction' is deprecated: first deprecated in iOS 9.0
    [-Wdeprecated-declarations]
            configuration.mediaPlaybackRequiresUserAction = false;
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          mediaTypesRequiringUserActionForPlayback
    In module 'WebKit' imported from /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.2/ios/Classes/FlutterWebView.h:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:211:28
    : note: 'mediaPlaybackRequiresUserAction' has been explicitly marked deprecated here
    @property (nonatomic) BOOL mediaPlaybackRequiresUserAction API_DEPRECATED_WITH_REPLACEMENT("mediaTypesRequiringUserActionForPlayback", ios(8.0, 9.0));
                               ^
    4 warnings generated.
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.7.10/ios/Classes/FLTURLLauncherPlugin.m:153:57: warning: 'keyWindow' is deprecated: first deprecated in iOS 13.0 - Should not be
    used for applications that support multiple scenes as it returns a key window across all connected scenes [-Wdeprecated-declarations]
                                                           .keyWindow.rootViewController];
                                                            ^
    In module 'UIKit' imported from /Users/admin/StudioProjects/gleac-flutter/ios/Pods/Target Support Files/url_launcher/url_launcher-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:134:51: note:
    'keyWindow' has been explicitly marked deprecated here
    @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes",
    ios(2.0, 13.0));
                                                      ^
    1 warning generated.
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/launch_review-2.0.0/ios/Classes/LaunchReviewPlugin.m:34:50: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
    [-Wdeprecated-declarations]
                  [[UIApplication sharedApplication] openURL:itunesURL];
                                                     ^~~~~~~
                                                     openURL:options:completionHandler:
    In module 'UIKit' imported from /Users/admin/StudioProjects/gleac-flutter/ios/Pods/Target Support Files/launch_review/launch_review-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:123:1: note:
    'openURL:' has been explicitly marked deprecated here
    - (BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
    ^
    1 warning generated.
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+22/ios/Classes/FLTImagePickerPlugin.m:149:20: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 -
    UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
        [[[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Error", nil)
                       ^
    In module 'UIKit' imported from /Users/admin/StudioProjects/gleac-flutter/ios/Pods/Target Support Files/image_picker/image_picker-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note:
    'UIAlertView' has been explicitly marked deprecated here
    @interface UIAlertView : UIView
               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+22/ios/Classes/FLTImagePickerPlugin.m:322:11: warning: 'requestImageDataForAsset:options:resultHandler:' is deprecated:
    first deprecated in iOS 13 [-Wdeprecated-declarations]
              requestImageDataForAsset:originalAsset
              ^~~~~~~~~~~~~~~~~~~~~~~~
              requestImageDataAndOrientationForAsset
    In module 'Photos' imported from /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+22/ios/Classes/FLTImagePickerPlugin.m:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Photos.framework/Headers/PHImageManager.h:162:1: note:
    'requestImageDataForAsset:options:resultHandler:' has been explicitly marked deprecated here
    - (PHImageRequestID)requestImageDataForAsset:(PHAsset *)asset options:(nullable PHImageRequestOptions *)options resultHandler:(void (^)(NSData *_Nullable imageData, NSString *_Nullable dataUTI,
    UIImageOrientation orientation, NSDictionary *_Nullable info))resultHandler API_DEPRECATED_WITH_REPLACEMENT("-requestImageDataAndOrientationForAsset:options:resultHandler:", ios(8, 13), tvos(8, 13))
    API_UNAVAILABLE(macos);
    ^
    2 warnings generated.
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+22/ios/Classes/FLTImagePickerPhotoAssetUtil.m:17:44: warning: 'UIImagePickerControllerReferenceURL' is deprecated: first
    deprecated in iOS 11.0 - Will be removed in a future release, use PHPicker. [-Wdeprecated-declarations]
      NSURL *referenceURL = [info objectForKey:UIImagePickerControllerReferenceURL];
                                               ^
    In module 'UIKit' imported from /Users/admin/StudioProjects/gleac-flutter/ios/Pods/Target Support Files/image_picker/image_picker-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:62:51:
    note: 'UIImagePickerControllerReferenceURL' has been explicitly marked deprecated here
    UIKIT_EXTERN UIImagePickerControllerInfoKey const UIImagePickerControllerReferenceURL API_DEPRECATED("Will be removed in a future release, use PHPicker.", ios(4.1, 11.0)) API_UNAVAILABLE(tvos); // an
    NSURL that references an asset in the AssetsLibrary framework
                                                      ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+22/ios/Classes/FLTImagePickerPhotoAssetUtil.m:21:47: warning: 'fetchAssetsWithALAssetURLs:options:' is deprecated: first
    deprecated in iOS 11 - Will be removed in a future release [-Wdeprecated-declarations]
      PHFetchResult<PHAsset *> *result = [PHAsset fetchAssetsWithALAssetURLs:@[ referenceURL ]
                                                  ^
    In module 'Photos' imported from /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+22/ios/Classes/FLTImagePickerPhotoAssetUtil.h:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAsset.h:74:1: note:
    'fetchAssetsWithALAssetURLs:options:' has been explicitly marked deprecated here
    + (PHFetchResult<PHAsset *> *)fetchAssetsWithALAssetURLs:(NSArray<NSURL *> *)assetURLs options:(nullable PHFetchOptions *)options API_DEPRECATED("Will be removed in a future release", ios(8, 11),
    tvos(8, 11)) API_UNAVAILABLE(macos);
    ^
    2 warnings generated.
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.11/ios/Classes/FlutterWebviewPlugin.m:150:22: warning: 'setJavaScriptEnabled:' is deprecated: first deprecated in
    iOS 14.0 - Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis [-Wdeprecated-declarations]
            [preferences setJavaScriptEnabled:YES];
                         ^
    In module 'WebKit' imported from /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.11/ios/Classes/FlutterWebviewPlugin.h:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:72:28: note:
    property 'javaScriptEnabled' is declared deprecated here
    @property (nonatomic) BOOL javaScriptEnabled API_DEPRECATED("Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis", macos(10.10, 11.0), ios(8.0,
    14.0));
                               ^
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:72:28: note:
    'setJavaScriptEnabled:' has been explicitly marked deprecated here
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.11/ios/Classes/FlutterWebviewPlugin.m:152:22: warning: 'setJavaScriptEnabled:' is deprecated: first deprecated in
    iOS 14.0 - Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis [-Wdeprecated-declarations]
            [preferences setJavaScriptEnabled:NO];
                         ^
    In module 'WebKit' imported from /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.11/ios/Classes/FlutterWebviewPlugin.h:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:72:28: note:
    property 'javaScriptEnabled' is declared deprecated here
    @property (nonatomic) BOOL javaScriptEnabled API_DEPRECATED("Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis", macos(10.10, 11.0), ios(8.0,
    14.0));
                               ^
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:72:28: note:
    'setJavaScriptEnabled:' has been explicitly marked deprecated here
    2 warnings generated.
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/FlutterWebViewController.swift:107:34: warning: 'keyWindow' was deprecated in iOS 13.0: Should not be
    used for applications that support multiple scenes as it returns a key window across all connected scenes
                UIApplication.shared.keyWindow!.insertSubview(self.myView!, at: 0)
                                     ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserManager.swift:91:64: warning: 'statusBarStyle' was deprecated in iOS 13.0: Use the
    statusBarManager property of the window scene instead.
                self.previousStatusBarStyle = UIApplication.shared.statusBarStyle.rawValue
                                                                   ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserManager.swift:98:52: warning: 'keyWindow' was deprecated in iOS 13.0: Should not be used
    for applications that support multiple scenes as it returns a key window across all connected scenes
            let baseWindowLevel = UIApplication.shared.keyWindow?.windowLevel
                                                       ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: warning: coercion of implicitly unwrappable value of type
    'InAppWebView_IBWrapper?' to 'Any' does not unwrap optional
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:26:19: note: implicitly unwrapped property 'containerWebView'
    declared here
        @IBOutlet var containerWebView: InAppWebView_IBWrapper!
                      ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: note: provide a default value to avoid this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                       ?? <#default value#>
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: note: force-unwrap the value to avoid this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                      !
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: note: explicitly cast to 'Any' with 'as Any' to silence
    this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                       as Any
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:586:56: warning: 'keyWindow' was deprecated in iOS 13.0: Should
    not be used for applications that support multiple scenes as it returns a key window across all connected scenes
                let baseWindowLevel = UIApplication.shared.keyWindow?.windowLevel
                                                           ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:603:42: warning: 'statusBarStyle' was deprecated in iOS 13.0: Use
    the statusBarManager property of the window scene instead.
                        UIApplication.shared.statusBarStyle = UIStatusBarStyle(rawValue: self.previousStatusBarStyle)!
                                             ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:675:59: warning: 'statusBarFrame' was deprecated in iOS 13.0: Use
    the statusBarManager property of the window scene instead.
            let statusBarFrame: CGRect = UIApplication.shared.statusBarFrame
                                                              ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:705:17: warning: 'scanHexInt32' was deprecated in iOS 13.0
            scanner.scanHexInt32(&hexInt)
                    ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:788:34: warning: 'statusBarStyle' was deprecated in iOS 13.0: Use
    the statusBarManager property of the window scene instead.
                UIApplication.shared.statusBarStyle = UIStatusBarStyle(rawValue: previousStatusBarStyle)!
                                     ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1248:39: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                configuration.preferences.javaScriptEnabled = options.javaScriptEnabled
                                          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1278:25: warning: 'spotlightSuggestion' was deprecated in iOS 10.0: renamed to
    'WKDataDetectorTypes.lookupSuggestion'
                    return .spotlightSuggestion
                            ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1278:25: note: use 'WKDataDetectorTypes.lookupSuggestion' instead
                    return .spotlightSuggestion
                            ^~~~~~~~~~~~~~~~~~~
                            WKDataDetectorTypes.lookupSuggestion
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1313:31: warning: 'spotlightSuggestion' was deprecated in iOS 10.0: renamed to
    'WKDataDetectorTypes.lookupSuggestion'
                if type.contains(.spotlightSuggestion) {
                                  ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1313:31: note: use 'WKDataDetectorTypes.lookupSuggestion' instead
                if type.contains(.spotlightSuggestion) {
                                  ^~~~~~~~~~~~~~~~~~~
                                  WKDataDetectorTypes.lookupSuggestion
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1414:42: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                if configuration.preferences.javaScriptEnabled {
                                             ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1659:39: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                configuration.preferences.javaScriptEnabled = newOptions.javaScriptEnabled
                                          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:2707:9: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to
    'SecTrustEvaluateWithError(_:_:)'
            SecTrustEvaluate(serverTrust, &secResult);
            ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:2707:9: note: use 'SecTrustEvaluateWithError(_:_:)' instead
            SecTrustEvaluate(serverTrust, &secResult);
            ^~~~~~~~~~~~~~~~
            SecTrustEvaluateWithError
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3054:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3062:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled, let lastTouchLocation = lastTouchPoint {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3072:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3086:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserManager.swift:91:64: warning: 'statusBarStyle' was deprecated in iOS 13.0: Use the
    statusBarManager property of the window scene instead.
                self.previousStatusBarStyle = UIApplication.shared.statusBarStyle.rawValue
                                                                   ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserManager.swift:98:52: warning: 'keyWindow' was deprecated in iOS 13.0: Should not be used
    for applications that support multiple scenes as it returns a key window across all connected scenes
            let baseWindowLevel = UIApplication.shared.keyWindow?.windowLevel
                                                       ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: warning: coercion of implicitly unwrappable value of type
    'InAppWebView_IBWrapper?' to 'Any' does not unwrap optional
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:26:19: note: implicitly unwrapped property 'containerWebView'
    declared here
        @IBOutlet var containerWebView: InAppWebView_IBWrapper!
                      ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: note: provide a default value to avoid this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                       ?? <#default value#>
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: note: force-unwrap the value to avoid this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                      !
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: note: explicitly cast to 'Any' with 'as Any' to silence
    this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                       as Any
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:586:56: warning: 'keyWindow' was deprecated in iOS 13.0: Should
    not be used for applications that support multiple scenes as it returns a key window across all connected scenes
                let baseWindowLevel = UIApplication.shared.keyWindow?.windowLevel
                                                           ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:603:42: warning: 'statusBarStyle' was deprecated in iOS 13.0: Use
    the statusBarManager property of the window scene instead.
                        UIApplication.shared.statusBarStyle = UIStatusBarStyle(rawValue: self.previousStatusBarStyle)!
                                             ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:675:59: warning: 'statusBarFrame' was deprecated in iOS 13.0: Use
    the statusBarManager property of the window scene instead.
            let statusBarFrame: CGRect = UIApplication.shared.statusBarFrame
                                                              ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:705:17: warning: 'scanHexInt32' was deprecated in iOS 13.0
            scanner.scanHexInt32(&hexInt)
                    ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:788:34: warning: 'statusBarStyle' was deprecated in iOS 13.0: Use
    the statusBarManager property of the window scene instead.
                UIApplication.shared.statusBarStyle = UIStatusBarStyle(rawValue: previousStatusBarStyle)!
                                     ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1248:39: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                configuration.preferences.javaScriptEnabled = options.javaScriptEnabled
                                          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1278:25: warning: 'spotlightSuggestion' was deprecated in iOS 10.0: renamed to
    'WKDataDetectorTypes.lookupSuggestion'
                    return .spotlightSuggestion
                            ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1278:25: note: use 'WKDataDetectorTypes.lookupSuggestion' instead
                    return .spotlightSuggestion
                            ^~~~~~~~~~~~~~~~~~~
                            WKDataDetectorTypes.lookupSuggestion
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1313:31: warning: 'spotlightSuggestion' was deprecated in iOS 10.0: renamed to
    'WKDataDetectorTypes.lookupSuggestion'
                if type.contains(.spotlightSuggestion) {
                                  ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1313:31: note: use 'WKDataDetectorTypes.lookupSuggestion' instead
                if type.contains(.spotlightSuggestion) {
                                  ^~~~~~~~~~~~~~~~~~~
                                  WKDataDetectorTypes.lookupSuggestion
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1414:42: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                if configuration.preferences.javaScriptEnabled {
                                             ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1659:39: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                configuration.preferences.javaScriptEnabled = newOptions.javaScriptEnabled
                                          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:2707:9: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to
    'SecTrustEvaluateWithError(_:_:)'
            SecTrustEvaluate(serverTrust, &secResult);
            ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:2707:9: note: use 'SecTrustEvaluateWithError(_:_:)' instead
            SecTrustEvaluate(serverTrust, &secResult);
            ^~~~~~~~~~~~~~~~
            SecTrustEvaluateWithError
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3054:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3062:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled, let lastTouchLocation = lastTouchPoint {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3072:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3086:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserManager.swift:91:64: warning: 'statusBarStyle' was deprecated in iOS 13.0: Use the
    statusBarManager property of the window scene instead.
                self.previousStatusBarStyle = UIApplication.shared.statusBarStyle.rawValue
                                                                   ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserManager.swift:98:52: warning: 'keyWindow' was deprecated in iOS 13.0: Should not be used
    for applications that support multiple scenes as it returns a key window across all connected scenes
            let baseWindowLevel = UIApplication.shared.keyWindow?.windowLevel
                                                       ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: warning: coercion of implicitly unwrappable value of type
    'InAppWebView_IBWrapper?' to 'Any' does not unwrap optional
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:26:19: note: implicitly unwrapped property 'containerWebView'
    declared here
        @IBOutlet var containerWebView: InAppWebView_IBWrapper!
                      ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: note: provide a default value to avoid this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                       ?? <#default value#>
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: note: force-unwrap the value to avoid this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                      !
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19: note: explicitly cast to 'Any' with 'as Any' to silence
    this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                       as Any
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:586:56: warning: 'keyWindow' was deprecated in iOS 13.0: Should
    not be used for applications that support multiple scenes as it returns a key window across all connected scenes
                let baseWindowLevel = UIApplication.shared.keyWindow?.windowLevel
                                                           ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:603:42: warning: 'statusBarStyle' was deprecated in iOS 13.0: Use
    the statusBarManager property of the window scene instead.
                        UIApplication.shared.statusBarStyle = UIStatusBarStyle(rawValue: self.previousStatusBarStyle)!
                                             ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:675:59: warning: 'statusBarFrame' was deprecated in iOS 13.0: Use
    the statusBarManager property of the window scene instead.
            let statusBarFrame: CGRect = UIApplication.shared.statusBarFrame
                                                              ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:705:17: warning: 'scanHexInt32' was deprecated in iOS 13.0
            scanner.scanHexInt32(&hexInt)
                    ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:788:34: warning: 'statusBarStyle' was deprecated in iOS 13.0: Use
    the statusBarManager property of the window scene instead.
                UIApplication.shared.statusBarStyle = UIStatusBarStyle(rawValue: previousStatusBarStyle)!
                                     ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1248:39: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                configuration.preferences.javaScriptEnabled = options.javaScriptEnabled
                                          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1278:25: warning: 'spotlightSuggestion' was deprecated in iOS 10.0: renamed to
    'WKDataDetectorTypes.lookupSuggestion'
                    return .spotlightSuggestion
                            ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1278:25: note: use 'WKDataDetectorTypes.lookupSuggestion' instead
                    return .spotlightSuggestion
                            ^~~~~~~~~~~~~~~~~~~
                            WKDataDetectorTypes.lookupSuggestion
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1313:31: warning: 'spotlightSuggestion' was deprecated in iOS 10.0: renamed to
    'WKDataDetectorTypes.lookupSuggestion'
                if type.contains(.spotlightSuggestion) {
                                  ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1313:31: note: use 'WKDataDetectorTypes.lookupSuggestion' instead
                if type.contains(.spotlightSuggestion) {
                                  ^~~~~~~~~~~~~~~~~~~
                                  WKDataDetectorTypes.lookupSuggestion
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1414:42: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                if configuration.preferences.javaScriptEnabled {
                                             ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:1659:39: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                configuration.preferences.javaScriptEnabled = newOptions.javaScriptEnabled
                                          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:2707:9: warning: 'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to
    'SecTrustEvaluateWithError(_:_:)'
            SecTrustEvaluate(serverTrust, &secResult);
            ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:2707:9: note: use 'SecTrustEvaluateWithError(_:_:)' instead
            SecTrustEvaluate(serverTrust, &secResult);
            ^~~~~~~~~~~~~~~~
            SecTrustEvaluateWithError
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3054:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3062:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled, let lastTouchLocation = lastTouchPoint {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3072:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebView.swift:3086:38: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
            if configuration.preferences.javaScriptEnabled {
                                         ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebViewOptions.swift:79:74: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                realOptions["javaScriptEnabled"] = configuration.preferences.javaScriptEnabled
                                                                             ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/MyCookieManager.swift:120:16: warning: unnecessary check for 'iOS'; enclosing scope ensures guard will
    always be true
                if #available(iOS 13.0, *) {
                   ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/MyCookieManager.swift:12:7: note: enclosing scope here
    class MyCookieManager: NSObject, FlutterPlugin {
          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/MyCookieManager.swift:149:24: warning: unnecessary check for 'iOS'; enclosing scope ensures guard will
    always be true
                        if #available(iOS 13.0, *) {
                           ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/MyCookieManager.swift:12:7: note: enclosing scope here
    class MyCookieManager: NSObject, FlutterPlugin {
          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppWebViewOptions.swift:79:74: warning: 'javaScriptEnabled' was deprecated in iOS 14.0: Use
    WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis
                realOptions["javaScriptEnabled"] = configuration.preferences.javaScriptEnabled
                                                                             ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/MyCookieManager.swift:120:16: warning: unnecessary check for 'iOS'; enclosing scope ensures guard will
    always be true
                if #available(iOS 13.0, *) {
                   ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/MyCookieManager.swift:12:7: note: enclosing scope here
    class MyCookieManager: NSObject, FlutterPlugin {
          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/MyCookieManager.swift:149:24: warning: unnecessary check for 'iOS'; enclosing scope ensures guard will
    always be true
                        if #available(iOS 13.0, *) {
                           ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/MyCookieManager.swift:12:7: note: enclosing scope here
    class MyCookieManager: NSObject, FlutterPlugin {
          ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariBrowserOptions.swift:29:16: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
                if #available(iOS 11.0, *) {
                   ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariBrowserOptions.swift:12:14: note: enclosing scope here
    public class SafariBrowserOptions: Options<SafariViewController> {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:58:12: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
            if #available(iOS 11.0, *) {
               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:12:14: note: enclosing scope here
    public class SafariViewController: SFSafariViewController, FlutterPlugin, SFSafariViewControllerDelegate {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:62:12: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
            if #available(iOS 10.0, *) {
               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:12:14: note: enclosing scope here
    public class SafariViewController: SFSafariViewController, FlutterPlugin, SFSafariViewControllerDelegate {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:58:12: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
            if #available(iOS 11.0, *) {
               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:12:14: note: enclosing scope here
    public class SafariViewController: SFSafariViewController, FlutterPlugin, SFSafariViewControllerDelegate {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:62:12: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
            if #available(iOS 10.0, *) {
               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:12:14: note: enclosing scope here
    public class SafariViewController: SFSafariViewController, FlutterPlugin, SFSafariViewControllerDelegate {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:162:17: warning: 'scanHexInt32' was deprecated in iOS 13.0
            scanner.scanHexInt32(&hexInt)
                    ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariBrowserOptions.swift:29:16: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
                if #available(iOS 11.0, *) {
                   ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariBrowserOptions.swift:12:14: note: enclosing scope here
    public class SafariBrowserOptions: Options<SafariViewController> {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:58:12: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
            if #available(iOS 11.0, *) {
               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:12:14: note: enclosing scope here
    public class SafariViewController: SFSafariViewController, FlutterPlugin, SFSafariViewControllerDelegate {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:62:12: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
            if #available(iOS 10.0, *) {
               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:12:14: note: enclosing scope here
    public class SafariViewController: SFSafariViewController, FlutterPlugin, SFSafariViewControllerDelegate {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:58:12: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
            if #available(iOS 11.0, *) {
               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:12:14: note: enclosing scope here
    public class SafariViewController: SFSafariViewController, FlutterPlugin, SFSafariViewControllerDelegate {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:62:12: warning: unnecessary check for 'iOS'; enclosing scope ensures guard
    will always be true
            if #available(iOS 10.0, *) {
               ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:12:14: note: enclosing scope here
    public class SafariViewController: SFSafariViewController, FlutterPlugin, SFSafariViewControllerDelegate {
                 ^
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/SafariViewController.swift:162:17: warning: 'scanHexInt32' was deprecated in iOS 13.0
            scanner.scanHexInt32(&hexInt)
                    ^
    1 warning generated.
    /* com.apple.ibtool.document.warnings */
    /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Storyboards/WebView.storyboard:global: warning: This file is set to build for a version older than the
    deployment target. Functionality may be limited. [9]
    error: the following command failed with exit code 1 but produced no further output
    CompileC
    /Users/admin/Library/Developer/Xcode/DerivedData/Runner-aadocpidqbmmvxexcxnxjqqmixnm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_crashlytics.build/Objects-normal/x86_64/FLTF
    irebaseCrashlyticsPlugin.o /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-0.3.0/ios/Classes/FLTFirebaseCrashlyticsPlugin.m normal x86_64 objective-c
    com.apple.compilers.llvm.clang.1_0.compiler
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FMDB' from project
    'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Reachability' from
    project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FBSDKLoginKit' from
    project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FBSDKCoreKit' from
    project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'AppAuth' from project
    'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flutter' from project
    'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleSignIn' from
    project 'Pods')

Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
p0drickpayne commented 3 years ago

Got the same problem

ma684351 commented 2 years ago

Me too

zhukeev commented 1 year ago

any solutions there ?

MujibBasha commented 1 year ago

the same

maximkuznetsovwork commented 3 months ago

same for macos

maximkuznetsovwork commented 3 months ago

Hey, admins! do you look at issues from community? it's old issues and no solution