DEV Community

Cover image for [Solved] Swift Compiler Error (Xcode): Method does not override any method from its superclass
Wahid
Wahid

Posted on

[Solved] Swift Compiler Error (Xcode): Method does not override any method from its superclass

In the new Xcode 16, if you get the following error

Failed to build iOS app
Could not build the precompiled application for the device.
Swift Compiler Error (Xcode): Method does not override any method from its superclass
/Users/abid/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/Classes/InAppWebView/InAppWebView.swift:1431:25

This video solves this problem

Method doesn't override any method from its superclass solution

Paste the following code in pubspec.yaml

dependency_overrides:
flutter_inappwebview_ios:
git:
url: https://github.com/andychucs/flutter_inappwebview
ref: master
path: flutter_inappwebview_ios

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

If you found this post helpful, please leave a ❤️ or a friendly comment below!

Okay