Today, I encountered this issue, and it wasn't an easy one to identify. The problem arose because the Flutter and FlutterFlow project isn't compatible with the new version of Flutter, so downgrading to Flutter 3.22.2 was the solution. It's rare that such an action resolves the issue, but this time it did.
Error message
Plugin pointer_interceptor:ios provides an implementation for pointer_interceptor_platform_interface and also references a default implementation for pointer_interceptor_ios, which is currently not supported. Ask the maintainers of pointer_interceptor to either remove the implementation via implements: pointer_interceptor_platform_interface
or avoid referencing a default implementation via platforms: ios: default_package: pointer_interceptor_ios
.
Fix
flutter downgrade 3.22.2
flutter --version
Flutter 3.24.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 80c2e84975 (2 weeks ago) • 2024-07-30 23:06:49 +0700
Engine • revision b8800d88be
Tools • Dart 3.5.0 • DevTools 2.37.2
% flutter downgrade 3.22.2
Downgrade flutter to version 3.22.2
? [y|n]: y
Success
Next commands to clean build
flutter clean
cd ios
rm Podfile.lock
flutter pub get
pod update
pod install
open Runner.xcworkspace
There is an disscussion on Github yesterday.
Comments
Post a Comment