[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

Mar 20, 2025 - 07:59
 0
[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