-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
v6.1.0 fails to compile on Xcode 15 #2288
Comments
👋 @ueman NOTE: This comment is auto-generated. Are you sure you have already searched for the same problem? Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem! If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue. In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding Following these steps can save you, me, and other people a lot of time, thanks! |
@ueman I had the same issue. I upgraded XCode 16 (still on MacOS 14.6.1 like you) and it works as expected |
I know that it works on Xcode 16, but I can't yet update to Xcode 16 |
Unfortunately, the changes made by the Apple/WebKit team won't work on < XCode 16. |
I'm guessing the issue should be resolved if calls like these flutter_inappwebview/flutter_inappwebview_ios/ios/Classes/InAppWebView/InAppWebView.swift Line 1051 in 48d3f03
are done with more parameters set explicitly. That removes ambiguity for the compiler. I'm planning to test that, although not sure when I come around to that. I don't think the change of the signature of the overriden method is incompatible with Xcode 15. |
any update for this issues? on my side, I forced to use flutter_inappwebview_ios to 1.0.13 and still have same issues
|
Related with #2294 |
I have the same issue on Xcode 15.2 |
@brennovich so what shall we do I read it but I didn't understand what I can do to solve it I have Xcode:15.4 flutter_inappwebview:[6.1.0] |
@ueman Maybe |
Released new You can run |
Thanks! It is working now.
I believe the offendling line ( While I don't think it is possible to use the 18 SDK with Xcode 15 (otherwise we would not have bothered you!), it might be possible to use the 17.2 SDK with Xcode 16. It is unlikely, though... |
@pichillilorenzo Awesome, thanks! My instinct though was to run Had to do before that I also tried
...which also worked and felt more explicit I did not want to do a blanket TL;DR you might still run into issues if your intuition tells you to just install / update to the latest |
Hello everyone! I opened an issue #2327 related to a new problem like this. I ask that you consider upvoting or interacting so that the maintainers can see this as soon as possible. Remember that these problems can happen to you - as is happening to me. :) |
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. |
Environment
Device information:
Description
Expected behavior:
The plugin compiles
Current behavior:
Steps to reproduce
I imagine it's due to thise issue: https://stackoverflow.com/questions/74364029/fatal-error-while-using-evaluatejavascript-on-wkwebview/74364030#74364030
The text was updated successfully, but these errors were encountered: