After updating my macos version to 15.0 and updating xcode to Version 16.0 my appliocation cant get compiled and show me this error:
Swift Compiler Error (Xcode): Method does not override any method from its superclass
/Users/userName/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/ios/Classes/InAppWebView/InAppWebView.swift:1235:25
Could not build the application for the simulator.
Error launching application on iPad Air 13-inch (M2).
any idea???? For sure its because of the new xcode update but how to solve it?
- i change some code in InAppWebView.swift:1235:25 file that i think can work but nothing help.
- cleaning the project did not work.
Hadi jaf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Guys after lots of trying:
- upgrade to the latest flutter version ->
flutter upgrade
- then run
flutter pub upgrade --major-versions
-> this will get the most updated and compatibility versions of the packages in Android and IOS and flutter - then just run
flutter clean && flutter pub get
I hope this answer helped you guys.
Hadi jaf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.