-
-
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
Xcode 16 build error #2278
Comments
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! |
maybe duplicated with #2201 you can check #2201 (comment) |
I have checked and found it's just a workaround by deleting all the code that cause the issues. The code need to be migrated, not deleted. |
In that comment, you can just change the completionHandler parameter type |
This needs to be handled in high priority |
I found a PR that applied that suggestion. @pichillilorenzo please take a look |
when you understand that this lib is no longer maintained.... we've been waiting for patches for the latest versions of android for months... so with ios18.... good luck.... |
I'm not calling explicitly this package, so what should I delete to be able to build my app ? Could not find what other packages depend on flutter_inappwebview_ios. |
You can run 'flutter pub deps' to see which package uses flutter_inappwebview_ios. |
@Sebastian0002 Thanks for the tip. |
1 |
I put this modified method, written a simple script, you can try to solve this problem https://github.com/ke112/fixios18 |
Stuck with the same problem here, thinking about a fork... |
… method from its superclass pichillilorenzo#2278 pichillilorenzo#2279
@pichillilorenzo need help |
In the meantime you can follow #2274 and add dependency overrides to the pubspec |
same issue after updating to Mac OS sequoia. |
After adding dependency overrides, the build runs fine, but the application freezes when trying to use the package. Downgrading Xcode to 15.4 solved all the issues |
@trueAtom could you provide a stack trace of the crashed thread? We had issues with a seemingly random crash, but from a different package. Wondering if it's related. It was due to libRPAC and the newly added Thread Performance Checker |
Sorry, I don't have the opportunity right now, I already found the problem in the testflight build and then downgraded xcode to save time |
How you made downgrade of xcode? my macOs do not want to interact with xcode 15.4 |
I haven't updated my Mac OS, I have Sonoma 14.7. |
@simonpham chừng nào họ release bản mới notify anh hen 🎉 |
can somebody give me a proper way to fix this issue , is to have an app in production and macOS is updated so downgrading is not an option. |
Ran into this issue as well after updating mac/xcode etc. This is a quickfix that helped me fix the issue for now: #2279 (comment) |
I already did some quickfixes as mentioned before but in Android the plugin freezes or is slow on loading pages. Stucks around 80% of the page loaded. Any help? |
You can resolve the issue by opening Runner.xcworkspace > Runner > Edit Scheme -> Build -> Pre-actions -> + -> New Run Script Action -> Paste the content of this file: https://github.com/simonpham/fixios18/blob/main/fixios18_prebuild_script.sh @minhcasi anh xài thử Thank to @ke112 for the script. |
Thank you very much. I understand now.
|
Released new version 6.1.0 with the fix, thanks. |
I am getting the same error with Xcode 15.2 on macOS Ventura, using the latest The error is at the exact same place, |
im not 100% sure, but try with XCode 16 |
Check #2288 |
seems like its still not working |
The fix from Lorenzo in #2288 is working for me using Xcode 15.2, using iPhoneOS.platform SDK 17.2. |
"I've updated my Flutter version (3.24.0) and the flutter_inappwebview package to 6.1.0, and the issue is now resolved." |
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:
Current behavior:
Steps to reproduce
Images
Stacktrace/Logcat
The text was updated successfully, but these errors were encountered: