Skip to content

[Bug report] #352

@landfound

Description

@landfound

Version

2.4.0

Platforms

iOS

Device Model

iPhone12 mini iOS 26.2

flutter info

[✓] Flutter (Channel stable, 3.38.7, on macOS 15.7.3 24G419 darwin-x64, locale en-CN) [1,734ms]
    • Flutter version 3.38.7 on channel stable at /Users/xuehui/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3b62efc2a3 (3 weeks ago), 2026-01-13 13:47:42 -0800
    • Engine revision 78fc3012e4
    • Dart version 3.10.7
    • DevTools version 2.51.1
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging

How to reproduce?

Running the example project, clicking 'compress HEIC' on iOS reports 'file not found'.

Logs

<<<< CMPhotoPixelBufferUtilities >>>> signalled err=-17102 at <>:5398
-[CIContext(ImageRepresentation) _CMPhotoRepresentationOfImage:depth:allowAlpha:containerFormat:colorSpace:options:error:] failed to add image to the PhotoCompressionSession. (kCMPhotoError_InvalidData)

Example code (optional)

Contact

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions