-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CRITICAL] XCode 16.1 fails to build #2327
Comments
I saw your suggestion a few hours ago and was going to test it as soon as I started work, but thinking about it now, I don't think that's a good idea because I'll lose access to other versions that my application supports. |
Ok, I can try this but I think that this is not the best way to follow. @pichillilorenzo can you suggest anything? |
@ARULNITHI0414 Didn't work. |
@ARULNITHI0414 I tried with version 14 and 15 and doesn't work as expected. It's the same error. |
I want to add, I don't think bump to version 14.0 is the best option. The maintainers must have a better solution. |
I have forked and changed in ios, Now the build issue is solved and working fine. |
@aorohith I saw your proposal, but I don't think it's correct - at least not completely. I haven't tested it yet, but I gave it a review. |
I'm facing a similar issue after updating to Xcode 16. Any solutions? |
@aorohith your solution works as expected, Thank you so much |
@aorohith I tried using your implementation and kept with problems for me. And I make flutter clean and "pod cleans" relateds. |
@felipecastrosales have you tried deleting all pods and podfile.lock ? |
@Marko1994 yes, all commands. like: |
@felipecastrosales Strange |
@felipecastrosales Step 1: add forked repo in pubspec instead of the version one, Like this flutter_inappwebview: Step 2: add flutter_inappwebview 6.x whatever you used in dependency_override, like this dependency_overrides: Step 3: clean pod and pod update and it works |
@Marko1994, still isn't working as expected. Could you share your pubspec.yaml file here as an example of how you implemented it? |
@felipecastrosales Use the same forked package as the dependency override instead of pub package git: url: https://github.com/aorohith/flutter_inappwebview.git |
@aorohith using your recommendation I have this problems: |
I tried more onetime using a new version of XCode (beta 3) + iPhone 16 Pro Max simulator and I receive this now: |
Now with iPhone 16 Pro Max (18.0) using XCode 16.0. I'm currently using macos 15.0.1. |
All of tests are on your fork @aorohith and using as override. cc @Marko1994 |
@felipecastrosales
Still, I am not sure about the issue you are facing. Add the line below to the pod file like above and try. |
@aorohith i'm trying now with:
|
@aorohith I've been testing your alternative and variations but I've had several problems. several indeed. If I use Flutter 3.24.0, xcode 16.0 with mac 15.0.1, with the fork in both and doing this configuration I have errors like: I tested several simulators and on 2 different physical devices, the result was always errors of this type. I really keep thinking there's something that needs to be tweaked in this plugin and I'd like @pichillilorenzo to look into it. |
Sorry guys, I will take a look into it as soon as possible. |
@pichillilorenzo thanks for answer. |
Any news? |
same issue |
Is there an existing issue for this?
Current Behavior
Current behaviour is that appears problems like:
Overriding 'init' must be as available as declaration it overrides
And others like:
I was trying solve this errors and when I fixed and put to build the error was increased to 50 exceptions:
I would like @pichillilorenzo and other developers who maintain this plugin to fix this, because it seems like a bigger deal to fix and there may be an easier way than what I was trying.
Thanks!
Expected Behavior
That works as expected and build for using Xcode16.1. :)
Steps with code example to reproduce
Only build an Flutter app.
Stacktrace/Logs
Overriding 'init' must be as available as declaration it overrides
Protocol 'WKUIDelegate' requires 'webView(_:willPresentEditMenuWithAnimator:)' to be available in iOS 16.0 and newer
Protocol 'WKUIDelegate' requires 'webView(_:requestMediaCapturePermissionFor:initiatedByFrame:type:decisionHandler:)' to be available in iOS 12.0 and newer
Protocol 'WKUIDelegate' requires 'webView(_:requestDeviceOrientationAndMotionPermissionFor:initiatedByFrame:decisionHandler:)' to be available in iOS 12.0 and newer
etc.
Flutter version
v3.24.0
Operating System, Device-specific and/or Tool
iOS specifically
Plugin version
v6.1.4
Additional information
I've seen issues from others related to XCode 16, but Xcode 16.1 has other bugs that are very different from the previous ones.
Self grab
The text was updated successfully, but these errors were encountered: