[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
![[Solved] Swift Compiler Error (Xcode): Method does not override any method from its superclass](https://media2.dev.to/dynamic/image/width%3D1000,height%3D500,fit%3Dcover,gravity%3Dauto,format%3Dauto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb491f7jtlssx7gh5so5x.png)
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