fluttercommunity / flutter_launcher_icons

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94

Home Page:https://pub.dev/packages/flutter_launcher_icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] 7 unnecessary icons being generated for iOS

lcsvcn opened this issue · comments

ℹ️ Info

Version: v0.13.1

💬 Description

7 unnecessary icons being generated for iOS.

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

📜 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

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

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/Icon-App-50x50@1x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png