Repository navigation
Closed
flutter/packages
#10848Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: image_pickerThe Image Picker plugin.The Image Picker plugin.packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
/image_picker_ios/FLTImagePickerImageUtil.m:120:71: error: 'kUTTypeGIF' is deprecated: first deprecated in iOS 15.0 - Use UTTypeGIF or UTType.gif (swift) instead. [-Werror,-Wdeprecated-declarations]
120 | options[(NSString *)kCGImageSourceTypeIdentifierHint] = (NSString *)kUTTypeGIF;
| ^
In module 'MobileCoreServices' imported from /Volumes/Work/s/w/ir/x/w/packages/packages/image_picker/image_picker_ios/ios/image_picker_ios/Sources/image_picker_ios/FLTImagePickerImageUtil.m:6:
In module 'CoreServices' imported from MobileCoreServices.framework/Headers/MobileCoreServices.h:9:
CoreServices.framework/Headers/UTCoreTypes.h:729:26: note: 'kUTTypeGIF' has been explicitly marked deprecated here
729 | extern const CFStringRef kUTTypeGIF API_DEPRECATED("Use UTTypeGIF or UTType.gif (swift) instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
| ^
1 error generated.
https://github.com/flutter/packages/blob/f709ea1ceff008eefdb92238224d87013781ec7f/packages/image_picker/image_picker_ios/ios/image_picker_ios/Sources/image_picker_ios/FLTImagePickerImageUtil.m#L120
https://github.com/flutter/packages/blob/f709ea1ceff008eefdb92238224d87013781ec7f/packages/image_picker/image_picker_ios/ios/image_picker_ios/Sources/image_picker_ios/FLTImagePickerPhotoAssetUtil.m#L102
Discovered in flutter/packages#9431
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: image_pickerThe Image Picker plugin.The Image Picker plugin.packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Activity
berlisB commentedon Jan 23, 2026
Hi, I’d like to take this issue and propose a fix.
[image_picker_ios] Fix deprecated kUTTypeGIF usage (#10848)
github-actions commentedon Feb 13, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.[image_picker_ios] Fix deprecated kUTTypeGIF usage (flutter#10848)