Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pub-cache/hosted/pub.dev/extended_image_library-3.5.2/lib/src/extended_asset_bundle_image_provider.dart:49:32: Error: Type 'ImageDecoderCallback' not found. #57

Closed
yongxuean opened this issue Aug 7, 2023 · 1 comment

Comments

@yongxuean
Copy link

Version

3.5.2

Platforms

Android, iOS

Device Model

iPhone 14 Pro

flutter info

Xcode build done.                                           21.0s
Failed to build iOS app
Error (Xcode): ../../.pub-cache/hosted/pub.dev/extended_image_library-3.5.2/lib/src/extended_asset_bundle_image_provider.dart:49:32: Error: Type 'ImageDecoderCallback' not found.

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro.


Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.12, on macOS 13.4 22F66 darwin-arm64, locale
    en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.81.0)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

How to reproduce?

May I ask if this extended_ Image_ Does the library not support Mac M1 chips?

When compiling and running on Intel chips, there is no problem, but an error will be reported on M1 chips. I have commented out the relevant ExtendedImage.asset code, and it can run successfully on M1 chips.

Logs

No response

Example code (optional)

No response

Contact

No response

@yongxuean yongxuean changed the title [Bug report] pub-cache/hosted/pub.dev/extended_image_library-3.5.2/lib/src/extended_asset_bundle_image_provider.dart:49:32: Error: Type 'ImageDecoderCallback' not found. Aug 7, 2023
@zmtzawqlp
Copy link
Member

read the changelog, and pick the version base on your flutter sdk version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants