flutter_launcher_icons icon indicating copy to clipboard operation
flutter_launcher_icons copied to clipboard

[BUG] 7 unnecessary icons being generated for iOS

Open lcsvcn opened this issue 2 years ago • 4 comments

:information_source: Info

Version: v0.13.1

:speech_balloon: Description

7 unnecessary icons being generated for iOS.

Screenshot 2023-10-18 at 16 22 20 Screenshot 2023-10-18 at 16 23 38

:scroll: Pubspec.yaml

flutter_icons:
  ios: true
  android: true
  image_path: 'assets/launcher/icon.png'
  min_sdk_android: 19
  adaptive_icon_background: '#fff'
  adaptive_icon_foreground: 'assets/launcher/foreground.png'
  remove_alpha_ios: true
  web:
    generate: true
    image_path: 'assets/launcher/foreground.png'
    background_color: '#fff'
    theme_color: '#fff'
  windows:
    generate: true
    image_path: 'assets/launcher/icon.png'
  macos:
    generate: true
    image_path: 'assets/launcher/icon.png'

We ask that you include your pubspec.yaml file as a common problem we have seen has been the pubspec.yaml file being incorrect

lcsvcn avatar Oct 18 '23 19:10 lcsvcn

Hi @lcsvcn thanks for reporting this

It's difficult to see all the entire file names of the icons generated, this would let me be able to compare the sizes generated versus the list of app icons required according to the Apple developer documentation.

Would be helpful if you could identify the sizes which were generated but not included in the documentation

MarkOSullivan94 avatar Dec 04 '23 09:12 MarkOSullivan94

Hi @MarkOSullivan94 after deleting the following icons in my project folder, I no longer get the error message in Xcode v17 (Deployment target iOS v12.0). Maybe this will help.

ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]

danielvuljanic avatar Jan 10 '24 15:01 danielvuljanic

These are the icons needed in All Sized in Xcode 15.3. This package currently generates some sizes that are not used and doesn't generate a few sizes that are needed.

image

Albert221 avatar Mar 20 '24 22:03 Albert221

Anyone interested in trying the fix?

lacostej avatar Jul 26 '24 08:07 lacostej