Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

old swift version #4

Closed
pmauchle opened this issue Oct 3, 2018 · 4 comments
Closed

old swift version #4

pmauchle opened this issue Oct 3, 2018 · 4 comments

Comments

@pmauchle
Copy link

pmauchle commented Oct 3, 2018

When I add the plugin to the pubspec.yaml I get an error: "The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 3.0, 4.0, 4.2. This setting can be set in the build settings editor."

When I open the project in Xcode I get: The target "flutter_inappbrowser" contains source code developed with Swift 2.x. Xcode 9 does not support building or migrating Swift 2.x targets.

Any chance this plugin will be updated to the newest version?

@pichillilorenzo
Copy link
Owner

Wow it is really strange because I developed it using Swift 4! I will check about that, thanks.

@pichillilorenzo
Copy link
Owner

@Maup1 I released the new 0.2.0 version! Let me know if now it works 😄

@pmauchle
Copy link
Author

pmauchle commented Oct 5, 2018

I tried it but it still did not work. I searched a little further and found this comments:

flutter/flutter#13422 (comment)

I created my project with "flutter create", in this case, the flutter_inappbrowser does not work because of the default option objc. After creating a project with "flutter create -i swift" it works!

I didn't know this exists, sorry for the inconvenience.

@pmauchle pmauchle closed this as completed Oct 5, 2018
@iampato iampato mentioned this issue Mar 7, 2020
@DowsingUK DowsingUK mentioned this issue Apr 29, 2020
This was referenced Jul 6, 2020
plateaukao pushed a commit to plateaukao/flutter_inappwebview that referenced this issue Jul 27, 2020
@pawangjain pawangjain mentioned this issue Jan 21, 2021
5 tasks
jonahzheng added a commit to jonahzheng/flutter_inappwebview that referenced this issue Sep 26, 2022
E/flutter (10050): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'bool'
E/flutter (10050): #0      RendererPriorityPolicy.fromMap (package:flutter_inappwebview/src/types.dart:4598:38)
E/flutter (10050): pichillilorenzo#1      AndroidInAppWebViewOptions.fromMap (package:flutter_inappwebview/src/in_app_webview/android/in_app_webview_options.dart:422:61)
E/flutter (10050): pichillilorenzo#2      InAppWebViewGroupOptions.fromMap (package:flutter_inappwebview/src/in_app_webview/in_app_webview_options.dart:72:38)
E/flutter (10050): pichillilorenzo#3      InAppWebViewController.getOptions (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:1643:39)
E/flutter (10050): <asynchronous suspension>
E/flutter (10050): pichillilorenzo#4      _WebViewTabState._buildWebView.<anonymous closure> (package:flutter_browser/webview_tab.dart:158:39)
E/flutter (10050): <asynchronous suspension>
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants